Re: [R] JGR on SUSE 10.1 AMD 64

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Sun 10 Sep 2006 - 09:29:01 GMT

On Sun, 10 Sep 2006, Rainer Volz wrote:

> Tomas Willebrand <tomas.willebrand <at> szooek.slu.se> writes:
>
> > I have R Version 2.3.1 (2006-06-01) installed on a AMD 64 machine with
> > SUSE 10.1.
Installed how is the usual question: from sources or an RPM?

> > I have Sun Java version 1.5.0-sun installed.
> >
> > I have used "install.packages("JGR", dep=TRUE) to install rJava,
> > iplots and JGR. I would like to do a presentation of linux and R for
> > the department!
> >
> > Compiling rJava do not give any error messages!
> >
> > But when trying to load library("JGR") or just library("rJava") I get
> > the following error message:
> > > Error in dyn.load(x, as.logical(local), as.logical(now)) :
> > > unable to load shared library '/usr/lib64/R/library/rJava/libs/rJava.so':
> > > libjvm.so: kan inte öppna delad objektfil: Filen eller katalogen finns inte
> > > Error in library("rJava") : .First.lib failed for 'rJava'
> >
> I have the same configuration: adding various library paths for the
> missing libs before calling R made the installation succeed:
>
> export
> LD_LIBRARY_PATH=/usr/lib64/R/lib:
> /usr/lib64/jvm/java-1.5.0-sun-1.5.0_07/jre/lib/amd64/server:
> /usr/lib64/jvm/java-1.5.0-sun-1.5.0_07/jre/lib/amd64:
> $LD_LIBRARY_PATH
This is something that is set up when R is configured, and stored in R_HOME/etc/ldpaths. Has perchance your Java subsystem been updated since R was installed? In which case update R_HOME/etc/ldpaths as appropriate, or set R_JAVA_LD_LIBRARY_PATH (not LD_LIBRARY_PATH) to override the setting there.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

Received on Sun Sep 10 19:43:41 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sun 10 Sep 2006 - 15:30:03 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.