Dear R expert: I have the problems with calling R from Java on Windows XP_SP2/Eclipse3.1/JDK1.5 problems: Loading RInterpreter library Exception in thread "main" java.lang.UnsatisfiedLinkError: no RInterpreter in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682) at java.lang.Runtime.loadLibrary0(Runtime.java:822) at java.lang.System.loadLibrary(System.java:992) at org.omegahat.R.Java.ROmegahatInterpreter.(ROmegahatInterpreter.java:28) at org.omegahat.R.Java.Examples.lmTest.main(lmTest.java:8) and Exception in thread "main" java.lang.UnsatisfiedLinkError: no SJava in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682) at java.lang.Runtime.loadLibrary0(Runtime.java:822) at java.lang.System.loadLibrary(System.java:992) at org.omegahat.R.Java.RForeignReference.(RForeignReference.java:22) at ne.Test.main(Test.java:11) help me!Thanks! name:wanghu(from china) [[alternative HTML version deleted]]
Prof Brian Ripley
2007-Oct-28 12:44 UTC
[Rd] Using SJava? (was R-devel Digest, Vol 56, Issue 27)
The error is:> Exception in thread "main" java.lang.UnsatisfiedLinkError: no SJava in > java.library.pathso this is most likely an error in the package you are using (SJava?), not in R. Please do read and follow the R posting guide at http://www.r-project.org/posting-guide.html (including using a reasonable subject line). On Sun, 28 Oct 2007, ???? wrote:> Dear R expert: > > I have the problems with calling R from Java on Windows > XP_SP2/Eclipse3.1/JDK1.5 > > problems: > > Loading RInterpreter library > Exception in thread "main" java.lang.UnsatisfiedLinkError: no RInterpreter > in java.library.path > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682) > at java.lang.Runtime.loadLibrary0(Runtime.java:822) > at java.lang.System.loadLibrary(System.java:992) > at org.omegahat.R.Java.ROmegahatInterpreter.(ROmegahatInterpreter.java:28) > at org.omegahat.R.Java.Examples.lmTest.main(lmTest.java:8) > and > > Exception in thread "main" java.lang.UnsatisfiedLinkError: no SJava in > java.library.path > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682) > at java.lang.Runtime.loadLibrary0(Runtime.java:822) > at java.lang.System.loadLibrary(System.java:992) > at org.omegahat.R.Java.RForeignReference.(RForeignReference.java:22) > at ne.Test.main(Test.java:11) > > help me!Thanks! > name:wanghu(from china) > > [[alternative HTML version deleted]] > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595