2.1 System requirements
- Windows 64 bit or Linux system
- Microsoft Word does no need to be present on the system on which IQReport is run.
- IQReport has been tested with Word 2010, 2013, 2016, and Office 365.
2.2 Required third party software
2.3.1 Quick on Windows
The easiest way to install IQReport on Windows is to call the following functions directly from R:
source("https://iqreport.intiquan.com/install.R") install_IQReport() test_IQReport()
The above commands do install IQReport and the IQReportAPI R package that allows to interface to IQReport from R. If this does not work for you, or you want to install it on a non-Windows computer, then you will find below the standard installation procedure.
2.3.2 Standard on Windows
- Download IQReport software IQReport.zip
- Download Third Party tools ThirdParty.zip
- Download the customized NotePad++ DefaultPad++.zip
- Create a folder “C:\LOCAL”
- Move the downloaded 3 zip files into the created folder and unzip all 3 of them. Ensure that the folders “gs”,“Pandoc19”,“ImageMagick”,“DefaultPad++”,“IQReport” lie directly in the “LOCAL” folder.
- Delete the 3 zip files
- Using the Windows Explorer browse to “C:\LOCAL\IQReport” and double-click on “install.bat”
- At this point it is good to restart your computer
- Create an empty “test.rmd” file in the “C:\LOCAL folder”
- Right click on “test.rmd” and choose “Open with” -> “Choose default program …” -> Select “C:\LOCAL\DefaultPad++\Notepad++Portable.exe”. This version of NotePad++ is set-up to provide syntax highlighting for RMD documents and allows to run IQReport from within it by using a right click on the mouse.
- Open the file C:\LOCAL\IQReport\config\path_settings.txt and have a look at the Windows part and check if the paths to the executables are correct. If you followed the above guide they should be fine. If you installed software differently or at different locations the paths might differ.
2.3.3 Standard on Linux
- Download IQReport software IQReport.tar.gz
- Unpack the downloaded file and move it to the desired location on your system
- Ensure presence of third party software. The commands that are required to run these from command line can be adjusted in the “config/path_settings.txt” file. Below the defaults are named:
- Make sure ghostscript is available as “gs” from command line.
- Make sure Pandoc (https://pandoc.org/) is available as “pandoc” from command line. Pandoc version 1.x should be used. Version 2.x is not supported (yet).
- Install ImageMagick (https://www.imagemagick.org) and make sure the “convert” executable is available from command line.
- Install the MATLAB Runtime R2016b from: INFO, DOWNLOAD
- Make the “IQReport.sh” command available from command line by symbolic link in “/usr/local/bin”
- Open and edit “IQReport.sh”. Update path to the MATLAB runtime (if needed) and update path to IQReport installation folder (if needed)
- Open the file /opt/IQReport/config/path_settings.txt and have a look at the Linux part and check if the paths to the executables are correct. If you followed the above guide they should be fine. If you installed software differently or at different locations the paths might differ.
2.3.4 Standard on MacOS
- Download IQReport software IQReport_MacOS.zip
- Unpack the downloaded file.
- Move the unpacked folder (IQReport) to the “/opt” folder. You could place it anywhere else but would need to change path settings later.
- Install third party software
- Install ImageMagick from https://imagemagick.org/script/download.php.
- Install Pandoc (https://pandoc.org/). Pandoc version 1.x should be used. Version 2.x is not supported (yet). Pandoc can be installed in several ways:
- Option 1 (easiest): download a zip file from here: https://iqreport.intiquan.com/download/Pandoc19_MacOS.zip. Unzip the file and move the unzipped “Pandoc19” folder to /opt. Done!
- Option 2 (harder): download a MacOS installer package from here: https://iqreport.intiquan.com/download/pandoc/pandoc-184.108.40.206-osx.pkg. Double click it and install. Open a terminal and execute: “sudo mkdir /opt/Pandoc19” and “sudo ln -s /usr/local/bin/pandoc /opt/Pandoc19/pandoc”.
- Install the MATLAB Runtime R2016B from: INFO, DOWNLOAD Note that you do NOT need to install the update that is shown on the Mathworks page.
- Make the “IQReport.sh” command available from command line by symbolic link in “/usr/local/bin”. You can do that by typing in the terminal windows: “sudo ln -s /opt/IQReport/IQReport.sh /usr/local/bin/IQReport.sh”.
- Open and edit “IQReport.sh”. Update path to the MATLAB runtime (if needed) and update path to IQReport installation folder. This is only needed if you deviated from the above description in terms of paths.
- Open the file /opt/IQReport/config/path_settings.txt and have a look at the MacOS part and check if the paths to the executables are correct. If you followed the above guide they should be fine. If you installed software differently or at different locations the paths might differ.
IQReport comes fully activated for the included Default Word Style. After a certain time, a license key is asked for. To obtain the license key, please contact IntiQuan at email@example.com. The obtained license key needs to be stored as file ‘license.txt’ in the ‘IQReport/config’ folder. The use of different Word Style requires different license keys.