Hi list,>From a vanilla debian:testing machine (e.g. docker run -ti debian:testingbash) I install `r-cran-rjags`, which appears to install fine. However, attempting to actually load the library in R produces the following error: library(rjags) Loading required package: coda Error : .onLoad failed in loadNamespace() for 'rjags', details: call: dyn.load(file, DLLpath DLLpath, ...) error: unable to load shared object '/usr/lib/R/site-library/rjags/libs/rjags.so': libjags.so.3: cannot open shared object file: No such file or directory Error: package or namespace load failed for 'rjags' A little digging shows that /usr/lib has libjags.so.4, not libjags.so.3 that rjags is looking for above. Perhaps the rjags binary is just a bit out of date on debian:testing right now? Any suggestions on how to work around this? Thanks for your help and apologies for my ignorance in this area, Carl -- http://carlboettiger.info [[alternative HTML version deleted]]
Dirk Eddelbuettel
2015-Oct-28 16:49 UTC
[R-sig-Debian] r-cran-rjags installation problems?
On 28 October 2015 at 16:22, Carl Boettiger wrote: | Hi list, | | >From a vanilla debian:testing machine (e.g. docker run -ti debian:testing | bash) I install `r-cran-rjags`, which appears to install fine. However, | attempting to actually load the library in R produces the following error: | | library(rjags) Loading required package: coda Error : .onLoad failed in | loadNamespace() for 'rjags', details: call: dyn.load(file, DLLpath | DLLpath, ...) error: unable to load shared object | '/usr/lib/R/site-library/rjags/libs/rjags.so': libjags.so.3: cannot open | shared object file: No such file or directory Error: package or namespace | load failed for 'rjags' | | A little digging shows that /usr/lib has libjags.so.4, not libjags.so.3 | that rjags is looking for above. Perhaps the rjags binary is just a bit | out of date on debian:testing right now? Confirmed, also in our rocker Docker container, and using '-t unstable'. Chris, could you tickle a new version pretty-please? Dirk | | Any suggestions on how to work around this? | | Thanks for your help and apologies for my ignorance in this area, | | Carl | -- | | http://carlboettiger.info | | [[alternative HTML version deleted]] | | _______________________________________________ | R-SIG-Debian mailing list | R-SIG-Debian at r-project.org | https://stat.ethz.ch/mailman/listinfo/r-sig-debian -- http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
r-cran-rjags is now on its way to unstable. It'll probably be 5-6 days before it hits testing. Chris On Wed, Oct 28, 2015 at 12:51 PM Dirk Eddelbuettel <edd at debian.org> wrote:> > On 28 October 2015 at 16:22, Carl Boettiger wrote: > | Hi list, > | > | >From a vanilla debian:testing machine (e.g. docker run -ti > debian:testing > | bash) I install `r-cran-rjags`, which appears to install fine. However, > | attempting to actually load the library in R produces the following > error: > | > | library(rjags) Loading required package: coda Error : .onLoad failed > in > | loadNamespace() for 'rjags', details: call: dyn.load(file, DLLpath > | DLLpath, ...) error: unable to load shared object > | '/usr/lib/R/site-library/rjags/libs/rjags.so': libjags.so.3: cannot open > | shared object file: No such file or directory Error: package or namespace > | load failed for 'rjags' > | > | A little digging shows that /usr/lib has libjags.so.4, not libjags.so.3 > | that rjags is looking for above. Perhaps the rjags binary is just a bit > | out of date on debian:testing right now? > > Confirmed, also in our rocker Docker container, and using '-t unstable'. > > Chris, could you tickle a new version pretty-please? > > Dirk > > | > | Any suggestions on how to work around this? > | > | Thanks for your help and apologies for my ignorance in this area, > | > | Carl > | -- > | > | http://carlboettiger.info > | > | [[alternative HTML version deleted]] > | > | _______________________________________________ > | R-SIG-Debian mailing list > | R-SIG-Debian at r-project.org > | https://stat.ethz.ch/mailman/listinfo/r-sig-debian > > -- > http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org >[[alternative HTML version deleted]]