[R] Problem with Jri (rJava)

Romain Francois romain.francois at dbmail.com
Mon Nov 30 14:09:36 CET 2009


Hi,

You probably want to use this mailing list instead :
http://mailman.rz.uni-augsburg.de/mailman/listinfo/stats-rosuda-devel

Romain

On 11/30/2009 02:04 PM, Javier Gil-Quijano wrote:
> Hello,
>
> I am a newbie using the JRI java interface to R. Actually I have just
> tried to use the examples provided in the rJava distribution.
>
> Well, I have a problem when loading the jri native library (see
> bellow), indeed I have tried both to compile the library and to use the
> pre-compiled library that is available with the rJava distribution, but
> I get the same error.
>
> I work on Mac OS X with java 1.6, the java.library.path is well configured.
>
> Thank you very much!
>
> Javier
>
> This is the error:
>
> java.lang.UnsatisfiedLinkError: /../rJava/jri/libjri.jnilib: no
> suitable image found. Did find: /.../rJava/jri/libjri.jnilib: no
> matching architecture in universal wrapper
> at java.lang.ClassLoader$NativeLibrary.load(Native Method)
> at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1881)
> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1798)
> at java.lang.Runtime.loadLibrary0(Runtime.java:823)
> at java.lang.System.loadLibrary(System.java:1045)
> at org.rosuda.JRI.Rengine.<clinit>(Rengine.java:17)
> at rtest.main(rtest.java:61)

-- 
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/FtUu : new package : highlight
|- http://tr.im/EAD5 : LondonR slides
`- http://tr.im/BcPw : celebrating R commit #50000




More information about the R-help mailing list