Hi,
I wonder whether a package with namespace & dynamic library can be installed with the version number attached, ie. with the argument --with-package-versions. Is this currently possible?
Using R 1.9.1 on Debian 3.0 I encounter a problem when trying to load a package installed with
R91 CMD INSTALL --with-package-versions -l /mnt/local/R/R-1.9.x-libs-EpiR RIO
in R started with R91 --vanilla
> .libPaths() [1] "/mnt/local/R/R-1.9.x-libs" "/mnt/local/R/R-1.9.x-libs-BioC" [3] "/mnt/local/R/R-1.9.x-libs-EpiR" "/mnt/local/R/R-1.9.1/lib/R/library"
either
> library("RIO")
Error in library.dynam(pkg, pkg, lib) : shared library 'RIO_1.4.0' not found
Error: .onLoad failed in loadNamespace
Error in library("RIO") : package/namespace load failed
or
> library("RIO_1.4.0")
Error in library.dynam(pkg, pkg, lib) : shared library 'RIO_1.4.0' not found
Error: .onLoad failed in loadNamespace
Error in library("RIO_1.4.0") : package/namespace load failedfail.
Without the '--with-package-versions' option the installed package loads without problem with the call
library("RIO")
file Namesapce defines (amoung other directives):
useDynLib(RIO)
I also tryed
useDynLib("RIO_1.4.0")
to no avail. But RIO/libs contains the file RIO.so anyway.I checked in 'Writing R Extensions" section 'Package name spaces' but did not find an answer.
Any hints?
Regards,
Matthias
-- Matthias Burger Project Manager/ Biostatistician Epigenomics AG Kleine Praesidentenstr. 1 10178 Berlin, Germany phone:+49-30-24345-371 fax:+49-30-24345-555 http://www.epigenomics.com [EMAIL PROTECTED]
______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
