Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

  1. Install R and JGR. Read how to install on Ubuntu.
  2. Include Page
    WST:Setting up JRIWST:
    Setting up JRI
  3. In Eclipse, go to "Run" -> "Run Configurations" -> choose your server.
    1. In the "Environment" tab, you'll have to set the "R_HOME" environment variable before tomcat launches.
    2. In the "Arguments" tab, add to the "VM Arguments" the following, for example: -Djava.library.path=/path/to/jri/installation

...

    1. Install R and JGR:
      1. 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 ..."
    2. Edit your tomcat launch file. You'll have to set the "R_HOME" environment variable to where your R home directory is:
      1. In Linux:
        1. Find your R_HOME location -- probably something like /usr/lib/R or /usr/lib64/R.
        2. Edit catalina.sh and add this after the first line: "export R_HOME=/path/to/your/R/installation"
    3. Include Page
      WST:Setting up JRIWST:
      Setting up JRI
      1. Edit your tomcat launch file.
        1. 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