Install R Project (optional, for statistics)
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. Read how to install on Ubuntu.
Set up JRI: This step does not always need to be done -- on some systems (currently on Linux 64 bit and on Windows) it may be done automatically for you. If it is not and you recieve an error message saying JRI's not installed...
- Install rJava & JRI from source or binaries.(Don't install through R's command line prompt -- it will get you a version that's too old). You'll need rJava version 0.8-0 (or any version that has JRI version 0.5-1 -- the JRI versions are not the same as the rJava versions).
- If you downloaded a source package (any unix system will be from source) build JRI.
- Look up the installation path that JRI went into. (TODO Can we improve these directions?)
- 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