...
- Install R and JGR. Read how to install on Ubuntu.
Include Page WST:Setting up JRI WST:Setting up JRI - In Eclipse, go to "Run" -> "Run Configurations" -> choose your server.
- In the "Environment" tab, you'll have to set the "R_HOME" environment variable before tomcat launches.
- In the "Arguments" tab, add to the "VM Arguments" the following, for example: -Djava.library.path=/path/to/jri/installation
Alternative directions:
Optional: If you want your system to compute advanced statistics about your project, you'll need to install the R Project.
- Install R and JGR:
- On Ubuntu, read how to install on Ubuntu-- in these directions, you can probably ignore the first few directions and skip straight to "apt get ..."
- Edit your tomcat launch file. You'll have to set the "R_HOME" environment variable to where your R home directory is:
- In Linux:
- Find your R_HOME location -- probably something like /usr/lib/R or /usr/lib64/R.
- Edit catalina.sh and add this after the first line: "export R_HOME=/path/to/your/R/installation"
- In Linux:
Include Page WST:Setting up JRI WST:Setting up JRI - Edit your tomcat launch file.
- In Linux, edit apache tomcat/bin/catalina.sh and add to your JAVA_OPTS line at the end before the quote: -Djava.library.path=/path/to/jri/installation
- Edit your tomcat launch file.
- Install R and JGR: