Hi, is there anyone who successfully used JGR (Java GUI for R) on Linux machines, more specific on 64bit AMD? Tried to get JGR running but after installing it as recommended (all installs ok), got a segfault with a very nice "implement me" message: osklyar at compaq[~]: R > install.packages("JGR",dep=TRUE) > library(JGR) Loading required package: rJava Loading required package: JavaGD Loading required package: iplots LOG: [(nil)] JNI_GetCreatedJavaVMs: IMPLEMENT ME!!! Segmentation fault compaq # Any ideas? Thanks, Oleg -- Dr Oleg Sklyar * EBI/EMBL, Cambridge CB10 1SD, England * +44-1223-494466 System information below: ----------------------------------- Ubuntu Edgy, 2.6.17-6-amd64-k8 #2 SMP, nvidia X11 ----------------------------------- osklyar at compaq[~]: java -version java version "1.5.0_08" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03) Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_08-b03, mixed mode) ----------------------------------- well, I know I need to update to release osklyar at compaq[~]: R > sessionInfo() R version 2.4.0 alpha (2006-09-15 r39323) x86_64-unknown-linux-gnu locale: LC_CTYPE=en_GB.UTF-8;LC_NUMERIC=C;LC_TIME=en_GB.UTF-8;LC_COLLATE=en_GB.UTF-8;LC_MONETARY=en_GB.UTF-8;LC_MESSAGES=en_GB.UTF-8;LC_PAPER=en_GB.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_GB.UTF-8;LC_IDENTIFICATION=C attached base packages: [1] "methods" "stats" "graphics" "grDevices" "utils" "datasets" [7] "base" > ----------------------------------- R is now configured for x86_64-unknown-linux-gnu Source directory: . Installation directory: /home/osklyar/R C compiler: gcc -O3 -march=x86-64 -g Fortran 77 compiler: /usr/bin/gfortran-4.0 -O3 -march=x86-64 -g C++ compiler: g++ -O3 -march=x86-64 -g Fortran 90/95 compiler: Interfaces supported: X11 External libraries: readline Additional capabilities: PNG, JPEG, iconv, MBCS, NLS Options enabled: shared R library, shared BLAS, R profiling Recommended packages: yes
Oleg Sklyar
2006-Oct-11 14:30 UTC
[R] SOLVED: Anyone managed to run JGR on amd64 Linux? SegFault
Hi, my post about failing JGR on amd64 solved and here is how I got it running, hopefully it helps others. Suppose your JDK (and you need JDK, not only JRE) is in /usr/lib/jvm/java-1.5.0-sun (thus JRE in /usr/lib/jvm/java-1.5.0-sun/jre). Set JAVA_HOME to point there to JDK. Run R CMD javareconf (thanks Prof. Ripley). RE-install rJava, install JGR. Start JGR - worked for me with sun-java binary deb of Ubuntu Edgy and R2.4.0alpha from source. Best, Oleg Oleg Sklyar wrote:> Hi, > > is there anyone who successfully used JGR (Java GUI for R) on Linux > machines, more specific on 64bit AMD? Tried to get JGR running but after > installing it as recommended (all installs ok), got a segfault with a > very nice "implement me" message: > > osklyar at compaq[~]: R > > install.packages("JGR",dep=TRUE) > > library(JGR) > Loading required package: rJava > Loading required package: JavaGD > Loading required package: iplots > LOG: [(nil)] JNI_GetCreatedJavaVMs: IMPLEMENT ME!!! > Segmentation fault > compaq # > > Any ideas? > > Thanks, > Oleg >-- Dr Oleg Sklyar * EBI/EMBL, Cambridge CB10 1SD, England * +44-1223-494466