[R] JGR, Java and Kubuntu 7.04 ...
Stefan Grosse
singularitaet at gmx.net
Fri Jun 15 12:32:15 CEST 2007
You could download the latest R (2.5.0) directly from CRAN, this just as
a side remark, You find instructions here:
http://cran.au.r-project.org/bin/linux/ubuntu/README
With java you should make sure that you have the Java 5 JDK installed.
I dont know how it is with Ubuntu but on fedora I have to set the java
alternative (sun java installation does not change the default java
there). Which java is installed you can check with java -version there
you see it it is properly installed and a R CMD javareconf also
indicates if your java is configured correctly. Additionally on Fedora I
had to set JAVA_HOME to the JDK directory manually.
Stefan
-------- Original Message --------
Subject: [R] JGR, Java and Kubuntu 7.04 ...
From: John Logsdon <j.logsdon at quantex-research.com>
To: r-help at stat.math.ethz.ch
Date: 14.06.2007 19:16
> R-ists
>
> Yet again Java rears its ugly head.
>
> I have Kubuntu 7.04 running the Kubuntu-repository version of R 2.4.1-1.
> Yes it isn't the very latest version but this is not the issue here.
>
> I want a Windows-like environment and everyone is talking about JGR.
>
> I downloaded it and installed it along with rJava. Both compile and install
> satisfactorily.
>
> But when I come to run it:
>
>
>>> library('JGR')
>>>
>> Loading required package: rJava
>> Error in dyn.load(x, as.logical(local), as.logical(now)) :
>> unable to load shared library
>> '/usr/local/lib/R/site-library/rJava/libs/rJava.so':
>> /usr/local/lib/R/site-library/rJava/libs/rJava.so: undefined symbol:
>> JNI_GetCreatedJavaVMs Error: .onLoad failed in 'loadNamespace' for 'rJava'
>> Error: package 'rJava' could not be loaded
>>
>
>
> When I first tried to run it without Java being installed, I got a message
> saying that JDK wasn't installed but mentioned 1.4.2. The version of Java
> actually installed as the latest from the Ubuntu repository is Sun 1.5.0.11.
> I don't see the point in installing old versions of Java just for one
> application because the language, or at least the writing, should be
> backwards compatible.
>
> In all aspects I have seen Kubuntu is a very impressive in checking
> compatibility. Unfortunately this is frequently not the case with Java. I
> steer clear of Java as much as possible.
>
> Can anyone suggest what I should do? Use Windows perhaps? Run Windows in a
> kvm virtual machine just to run R? Put my head in a bucket of cold water?
> Is there an alternative IDE? Is there a later JGR somewhere that is not yet
> on CRAN?
>
> TIA
>
>
More information about the R-help
mailing list