From ripley at stats.ox.ac.uk  Wed Jan  3 10:58:12 2007
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Wed, 3 Jan 2007 09:58:12 +0000 (GMT)
Subject: [Rd] troubles installing SJava for R
In-Reply-To: <459B6E21.5080002@erik.prutser.cx>
References: <459B6E21.5080002@erik.prutser.cx>
Message-ID: <Pine.LNX.4.64.0701030935570.29618@gannet.stats.ox.ac.uk>

It seems the version of SJava you used needs updating.  (install.R was 
deprecated long ago, formally so in 2.3.0, and R_PPStackTop was never 
part of the API.)

Please do as the R posting guide asked you to, and contact the maintainer.
(It also asked you not to report on obselete versions of R.)

SJava is part of the Omegahat project, and that has its own mailing list: 
R-devel is not appropriate.


On Wed, 3 Jan 2007, Erik van Zijst wrote:

> Hello all,
>
> I am using R 2.4.0 and SJava 0.69-0 on linux.

'linux' is too vague here.  My guess is that you are using R compiled as a 
shared library using a compiler that support visibility attributes.

> I am not able to install SJava on R. The following errors appear when
> installing:
>
> ...
> ** R
> ** inst
> WARNING: use of install..R is no longer supported
> ** preparing package for lazy loading
> Creating a new generic function for "merge" in "SJava"
> ** help
> >>> Building/Updating help pages for package 'SJava'
> Formats: text html latex example
> ...
>
> This error appears when I try to load SJava:
>
> ...
> Type 'q()' to quit R.
>
> > library(SJava)
> Error in dyn.load(x, as.logical(local), as.logical(now)) :
> unable to load shared library
> '/usr/local/lib/R/library/SJava/libs/SJava.so':
> /usr/local/lib/R/library/SJava/libs/SJava.so: undefined symbol: R_PPStackTop
> Error in library(SJava) : .First.lib failed for 'SJava'
> > q()
> ...
>
> Can anyone please help?
>
> Regards,
> Erik
>

-- 
Brian D. Ripley,                  ripley at 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



[Rd] troubles installing SJava for R
Prof Brian Ripley