[R] Problems with SJava instalation
Ronaldo Reis Jr.
chrysopa at insecta.ufv.br
Fri Mar 5 13:16:25 CET 2004
Hi,
I'm try to use the SJava package. The install is OK. In R I have this error
message:
--------------------------
> library(SJava)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
"/opt/lib/R/site-library/SJava/libs/SJava.so":
libRSNativeJava.so: cannot open shared object file: No such file or
directory
Error in library(SJava) : .First.lib failed
---------------------------
The R say that file libRSNativeJava.so dont exist, but it exist.
---------------------------
[root at zeus Rwork]# ls /opt/lib/R/site-library/SJava/libs/*
/opt/lib/R/site-library/SJava/libs/SJava.so
/opt/lib/R/site-library/SJava/libs/libRSNativeJava.so
---------------------------
When I run the RJava script I have this error:
---------------------------
/opt/lib/R/site-library/SJava/scripts/RJava
Loading RInterpreter library
Exception in thread "main" java.lang.UnsatisfiedLinkError: no RInterpreter in
java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:832)
at
org.omegahat.R.Java.ROmegahatInterpreter.<clinit>(ROmegahatInterpreter.java:34)
at org.omegahat.R.Java.Examples.JavaRCall.main(JavaRCall.java:11)
---------------------------
I'm using GNU/Debian stable/testing with j2sdk 1.4:
---------------------------
ii j2sdk1.4 1.4.1-6 Blackdown Java(TM) 2 SDK, Standard Edition
ii j2sdk1.4-src 1.4.1-6 Blackdown Java(TM) 2 SDK, Standard Edition,
ii j2se-common 1.1 Common facilities for all Java2 Standard Edi
---------------------------
What is my problem?
Thanks
Ronaldo
--
Eeny, Meeny, Jelly Beanie, the spirits are about to speak!
-- Bullwinkle Moose
--
|> // | \\ [***********************************]
| ( õ õ ) [Ronaldo Reis Júnior ]
|> V [UFV/DBA-Entomologia ]
| / \ [36571-000 Viçosa - MG ]
|> /(.''`.)\ [Fone: 31-3899-2532 ]
| /(: :' :)\ [chrysopa at insecta.ufv.br ]
|>/ (`. `'` ) \[ICQ#: 5692561 | LinuxUser#: 205366 ]
| ( `- ) [***********************************]
|>> _/ \_Powered by GNU/Debian Woody/Sarge
More information about the R-help
mailing list