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.InvocationTargetExceptionjava.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
Liviu Andronic
2009-Nov-09 16:34 UTC
[R-sig-Debian] [stats-rosuda-devel] trouble loading JGR on Debian
Hello Simon Thank you for answering. On Mon, Nov 9, 2009 at 4:08 PM, Simon Urbanek <simon.urbanek at r-project.org> wrote:> See below - you're running the wrong packages -- you cannot run 2.9 packages > in 2.10 R. [I'm not saying it's your only problem but it a major one.] > Please make sure you re-install all packages for 2.10 (and make sure you get > at least rJava 0.8-1 and JGR 1.7-0). >I went the JGR(update=TRUE) way, and although the 100%CPU-at-start-up bug is still there, the Help > About hack works and there are no error messages on require(JGR). Another issue that I noticed (possibly minor but I suspect linked to the above bug) is that clicking Help > About makes the splash message appear in background, as if it didn't appear at all. Regards Liviu> 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.7-1 iplots_1.1-3 JavaGD_0.5-3 rJava_0.8-2 fortunes_1.3-6 [6] hints_1.0.1-1 loaded via a namespace (and not attached): [1] tools_2.10.0