Re: [Rd] Using SJava? (was R-devel Digest, Vol 56, Issue 27)

From: Michael Lawrence <lawremi_at_iastate.edu>
Date: Mon, 29 Oct 2007 19:41:43 -0500

On 10/28/07, Prof Brian Ripley <ripley_at_stats.ox.ac.uk> wrote:
>
> The error is:
>
> > Exception in thread "main" java.lang.UnsatisfiedLinkError: no SJava in
> > java.library.path

It sounds like you need to put the directory containing the dll's included with the SJava package on your java.library.path. One way to do this is to add it to your system PATH variable.

so 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
> ______________________________________________
> R-devel_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>

        [[alternative HTML version deleted]]



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue 30 Oct 2007 - 00:44:41 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 30 Oct 2007 - 03:46:12 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.