R and RJava - scottlove/MessageProducer GitHub Wiki

Installing and running RJAVA

  • Install R (at this time it was Rx64 3.1.0)

  • Open R and run install.packages('rJava'). (note I had to install in new directory)

  • Update environment variables

  • R-HOME = C:\Program Files\R\R-3.1.0\ (also add R_HOME)

  • add to PATH C:\Program Files\R\R-3.1.0\bin\x64;c:\Users\scotlov\Documents\R\win-library\3.1\rJava\jri

  • Copy 64 bit version of jri.dll to jri directory

  • Add JRI.jar JRIEngin.jar, and REngine.Jar to intellij project

Installing R and RJAVA on Ubuntu Edit /etc/apt/sources.list Add the following lines