This chapter describes the R installation process that allows you to perform the R integration on Windows. For Linux, you must perform similar steps.
- Download of R from http://www.r-project.org/ for Windows or Linux. The most recent tested release is R 3.0.3. For Windows, go to https://cran.r-project.org/bin/windows/base/.
- Start the Installer. The installation of R must be done on the same system as the Jedox Suite.
During the R installation you can select:
- both 32-bit and 64-bit files
- 32-bit files if you run Jedox Suite on 32-bit
- 64-bit files if you run Jedox Suite on 64-bit
Installing R-package rJava (R to Java interface):
- Start the R console and enter the following command:
- Choose a CRAN mirror
Note: If you get an Error message on insufficient authorizations you have to start the R console as an administrator.
If the installation cannot be performed as above:
- Download the Windows binary according to the R version (the file
rJava*.zip) from http://www.rforge.net/rJava/files/.
- Start the R console
- In the R console enter the following:
- A message is displayed, asking if you would like to use a personal library instead. Select “No”.
- In the File Picker, choose the downloaded file
Setting the system environment variables
- Set the System environment variable
- Add the path to the R-executable to the System environment variable PATH. For example:
Note: You must not use the path
Changes in Jedox Integrator (Already done by Jedox Setup)
Verify that in the file
\tomcat\bin\setenv.bat the line starting with set
Library_Path looks like in the following example:
Note: if you need to define several directories for the
Library_Path setting, the entries are separated by the character sequence
<single quote><semicolon><single_quote>, as follows: ‘;’
Library_Path=%R_HOME%\library\rJava\jri\x64';'C:\Program Files (x86)\Jedox\Jedox Suite\tomcat\webapps\etlserver\WEB-INF\lib\auth\x64
The Jedox Tomcat Service has to be removed and started again.