title: Java/R Interface (JRI)
body: <p>I want to call some R code from within Java, on a Linux machine that has R installed already, so the Java/R Interface (JRI) is needed.</p>
  
  <p>However, I am not sure how to go about this.</p>
  
  <p>The <a href="http://www.rforge.net/JRI/" rel="nofollow">JRI homepage</a> says that the package is bundled in <a href="http://www.rforge.net/rJava/" rel="nofollow">rJava</a>. So, I downloaded <strong>rJava-0.9.3.tar.gz</strong> from the <a href="http://www.rforge.net/rJava/files/" rel="nofollow">rJava Files section</a>, and unzipped it, getting (among other things) a lot of Java source files (and their corresponding classes) in the <strong>src/java</strong> folder, plus 2 JARs (JRIEngine.jar and REngine.jar) in the <strong>inst/jri</strong> folder.</p>
  
  <p>The <a href="http://www.rforge.net/JRI/files/" rel="nofollow">JRI Files section</a>, though, in addition to the above 2 JARs, also includes JRI.jar and all three of these libraries are more recent than the 2 in <strong>inst/jri</strong>.</p>
  
  <p>In addition, none of these 3 JARs includes the binaries for the classes found in src/java, which appear to be necessary for calling R from within Java.</p>
  
  <p>Running "make all" in the <strong>java/src</strong> folder seems to just execute some tests and no JAR is produced.</p>
  
  <p>I would expect that all necessary classes come bundled in JAR files, so that they could be easily added in the classpath and in IDE projects (e.g., in Eclipse).</p>
  
  <p>How can I get to that point?</p>