Note that there are some explanatory texts on larger screens.

plurals
  1. POrJava error when running with Eclipse
    primarykey
    data
    text
    <p>I have installed R 3.0.1 and Eclipse Kepler. (I have installed StatE to run R-script through and Eclipse R-console with no problem.) However, I cannot seem to get a java program to run. I'm posting my issues to see if anyone else has encountered them or can help me understand what I'm doing wrong. After installing R, rJava (through R), and eclipse, I ran the RJavaEclipse Plugin from studytrials.com. Then I configured the paths to the appropriate libraries or .dll.</p> <p><img src="https://i.stack.imgur.com/dnlol.jpg" alt="enter image description here"></p> <p>When I try to run the rtest.java file that comes with the rJava JRI, I get the following error:</p> <p>Cannot find JRI native library! Please make sure that the JRI native library is in a directory listed in java.library.path.</p> <pre><code>java.lang.UnsatisfiedLinkError: no jri in java.library.path at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.loadLibrary0(Unknown Source) at java.lang.System.loadLibrary(Unknown Source) at org.rosuda.JRI.Rengine.&lt;clinit&gt;(Rengine.java:19) at rtest.main(rtest.java:61) </code></pre> <p>When I try to run via the run tab in eclipse -> run configurations -> R -> rtest, I get a pop-up warning that says: </p> <pre><code>R_HOME must be set or R properly installed (\Software\R-core\InstallPath registry entry must exist). </code></pre> <p>So, following the advice that so many on SO give, I tried to find the answer in the warning message.</p> <p>I found the path information in Eclipse (and Windows) was pointing to the correct locations both in the library and in the R run configuration:<img src="https://i.stack.imgur.com/CaTZ8.png" alt="enter image description here"> <img src="https://i.stack.imgur.com/MnB9Z.png" alt="enter image description here"> (C:\Users\csnyder\Documents\R\win-library\3.0\rJava\jri\x64;C:\Program Files\Java\jre7\bin\server;C:\Program Files\R\R-3.0.1\bin\x64)</p> <p>These paths also match the windows environmental paths. </p> <p><img src="https://i.stack.imgur.com/CXZjg.png" alt="enter image description here"></p> <p>So, I'm at a loss. If anyone has any suggestions on what my issue might be, I would greatly appreciate it. Please comment if you require any additional information.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload