[R-sig-Debian] trouble loading JGR on Debian
Liviu Andronic
landronimirc at gmail.com
Mon Nov 9 16:51:54 CET 2009
Dear developers
I am unable to (properly) load JGR on Debian testing. The JGR window
will pop out and R will start up, but it will not perform any of the
JGR specific library() calls (rJava, JavaGD, etc.) and will stuck at
100% CPU while the prompt will be non-responsive. The hack that helped
previously in such cases, accessing Help > About [1], works no more.
All R packages are installed via cran2deb on amd64 platform. This
issue was present on 2.9.2, as it is now on 2.10.0. Below are the
errors that pop up when JGR is started from within R, and further the
sessionInfo().
Could anyone suggest how to make JGR load properly under Debian? Thank you
Liviu
[1] https://stat.ethz.ch/pipermail/r-sig-debian/2009-August/000827.html
> require(JGR)
Loading required package: JGR
Loading required package: rJava
Loading required package: JavaGD
Loading required package: iplots
Please use the corresponding JGR launcher to start JGR.
Run JGR() for details. You can also use JGR(update=TRUE) to update JGR.
Warning messages:
1: package 'JGR' was built under R version 2.9.2 and help may not work
correctly
2: package 'rJava' was built under R version 2.9.2 and help may not
work correctly
3: package 'JavaGD' was built under R version 2.9.0 and help may not
work correctly
4: package 'iplots' was built under R version 2.9.0 and help may not
work correctly
> JGR()
Starting JGR ...
(You can use /usr/lib/R/site-library/JGR/scripts/run to start JGR directly)
> ERROR: while running main method: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at RJavaClassLoader.bootClass(RJavaClassLoader.java:430)
at RJavaClassLoader.main(RJavaClassLoader.java:500)
Caused by: java.lang.NoSuchMethodError:
org.rosuda.JRI.Rengine.assign(Ljava/lang/String;Ljava/lang/String;)V
at org.rosuda.JGR.JGR.<init>(JGR.java:217)
at org.rosuda.JGR.JGR.main(JGR.java:536)
... 6 more
Killed
> sessionInfo ()
R version 2.10.0 (2009-10-26)
x86_64-pc-linux-gnu
locale:
[1] LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_GB.UTF-8 LC_COLLATE=en_GB.UTF-8
[5] LC_MONETARY=C LC_MESSAGES=en_GB.UTF-8
[7] LC_PAPER=en_GB.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] JGR_1.6-8 iplots_1.1-3 JavaGD_0.5-2 rJava_0.8-1 fortunes_1.3-6
[6] hints_1.0.1-1
loaded via a namespace (and not attached):
[1] tools_2.10.0
More information about the R-SIG-Debian
mailing list