[R] RE: new packages: geepack and KMsurv
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Mon Oct 7 16:30:06 CEST 2002
Jari Oksanen <jarioksa at sun3.oulu.fi> writes:
> jsendak at omniwhittington.co.uk said:
> > I downloaded geepack from your site and installed it from the zip
> > file. However, although it appears under my library directory, I could
> > not load into R.
>
> I found out that all old packages with compiled code in shared libraries fail to
> load in R-1.6.0. My platform is RH7.3 with the notorious C/G77 compiler, but the
> reason seem not to be changes in compiler, but changes in R. Packages that I had
> compiled and installed day before upgrading to R-1.6.0 failed after upgrading.
> The problem vanishes when the package is re-installed from the source. This is a
> mild nuisance and for several packages I wait that they are ugpraded in CRAN so
> that re-building happens automatically. I am not sure if this is the reason with
> your trouble with binary packages, since your platform is very different. This
> is the output I get with one example package:
>
> > library(acepack)
> Error in dyn.load(x, as.logical(local), as.logical(now)) :
> unable to load shared library "/usr/lib/R/library/acepack/libs/acepack.so":
> libR.so: cannot open shared object file: No such file or directory
> Error in library(acepack) : .First.lib failed
> # But it is there:
>
> > system("ls /usr/lib/R/library/acepack/libs/acepack.so -l")
> -rwxr-xr-x 1 root root 68548 May 29 11:00 /usr/lib/R/library/acepack/libs/acepack.so
>
> > dyn.load("/usr/lib/R/library/acepack/libs/acepack.so")
> Error in dyn.load(x, as.logical(local), as.logical(now)) :
> unable to load shared library "/usr/lib/R/library/acepack/libs/acepack.so":
> libR.so: cannot open shared object file: No such file or directory
>
> I have tried to find if this new behaviour is documented, but I haven't yet
> found anything, so this may be an "undocumented feature". Who knows?
Odd, I just tried with a recent R-devel:
> library(odesolve,lib.loc='~/Rlib')
>
works fine, and my odesolve was built under 1.5.1 and does have an odesolve.so.
Now the error message claims that the library is absent, so does the
file actually exist? And did you install from RPM or from source?
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list