After a long sufferance I had succeeded in installing R GUI on my
Linux/SuSE system. It worked fine.
Unluckily a system upgrade patch messed up my monitor so I had to reinstall
SuSE 10.3 and every other application on top of it.
I have R running back with text interface. I tried to get the nice R GUI up
& running again. I followed all the steps to reinstall the R GUI but this
time I get a list of errors that I cannot remember seeing on my previous
installation. In the following I have pasted the main steps and messages.
Any suggestion how to solve this installation problem is welcome.
Thank you in advance,
Maura
mauede@linux-Ciccia:~> su
Password:
linux-Ciccia:/home/mauede # R CMD javareconf
Updating Java configuration in /usr/local/lib64/R
Done.
linux-Ciccia:/home/mauede # export LIBXCB_ALLOW_SLOPPY_LOCK=true
linux-Ciccia:/home/mauede # R
R version 2.6.1 (2007-11-26)> install.packages("JGR",dep=TRUE)
--- Please select a CRAN mirror for use in this session ---
CRAN mirror/usr/local/lib64/R/library
* Installing *source* package 'JGR' ...
** R
** inst
** help
>>> Building/Updating help pages for package 'JGR'
Formats: text html latex example
jgr.addMenu text html latex example
jgr.addMenuItem text html latex example
jgr.addMenuSeperator text html latex example
supplements text html latex
** building package indices ...
* DONE (JGR)
The downloaded packages are in
/tmp/RtmpjUwDCp/downloaded_packages
Updating HTML index of packages in '.Library'> library(JGR)
Loading required package: rJava
Loading required package: JavaGD
Loading required package: iplots
libxcb: WARNING! Program tries to unlock a connection without having
acquired
a lock first, which indicates a programming error.
There will be no further warnings about this issue.
libxcb: WARNING! Program tries to lock an already locked connection,
which indicates a programming error.
There will be no further warnings about this issue.
Please use the corresponding JGR launcher to start JGR.
Run JGR() for details. You can also use JGR(update=TRUE) to update
JGR.> JGR()
Starting JGR run script. This can be done from the shell as well, just run
/usr/local/lib64/R/library/JGR/scripts/run
> Exception in thread "main" java.lang.NoClassDefFoundError:
org/rosuda/JRI/RMainLoopCallbacks
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(
SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at RJavaClassLoader.findClass(RJavaClassLoader.java:137)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at java.lang.Class.getMethod0(Class.java:2670)
at java.lang.Class.getMethod(Class.java:1603)
at RJavaClassLoader.bootClass(RJavaClassLoader.java:289)
at RJavaClassLoader.main(RJavaClassLoader.java:326)
Caused by: java.lang.ClassNotFoundException
at RJavaClassLoader.findClass(RJavaClassLoader.java:195)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
... 18 more
[[alternative HTML version deleted]]