Re: [R] unable to install rjags on 64-bit Debian Linux (etch)

From: <plummer_at_iarc.fr>
Date: Sun, 09 Nov 2008 11:49:08 +0100

Hi Roger,

Try this:

install.packages("rjags",configure.args="--with-jags-lib=/usr/local/lib")

The original sin here is that R is installed in the wrong place. By default, R is installed into /usr/local/lib64 on 64-bit Linux. But this is a non-standard location on Debian: it should go in /usr/local/lib. (The Debian binary packages for R put everything in the right place).

I know the rjags configuration needs a bit of work, but a fully functional version will have to wait until version 2 of the JAGS library.

I hope this helps. If it does not, then write to me off-list.

Martyn

Quoting Roger Levy <rlevy_at_ucsd.edu>:

> While I have been able to install rjags on my Windows computer, oddly I
> have been unable to install rjags successfully on my 64-bit Linux
> compute server (etch, Linux kernel 2.6.18). I am required to specify
> the JAGS module directory upon installation; when doing this within R, I
> get:
>
>
install.packages("rjags",configure.args="--with-jags-modules=/usr/local/lib/JAGS/modules/")
>
> which works fine, but then trying to load rjags gives an error:
>
> > library(rjags)
> \Error in dyn.load(file, DLLpath = DLLpath, ...) :
> unable to load shared library
> '/usr/local/lib64/R/library/rjags/libs/rjags.so':
> libjags.so.1: cannot open shared object file: No such file or directory
> Error : .onLoad failed in 'loadNamespace' for 'rjags'
> Error: package/namespace load failed for 'rjags'
>
> I'm not sure how to read this error. Does anyone have any suggestions?
>
> Many thanks,
>
> Roger
>



This message and its attachments are strictly confidenti...{{dropped:8}}

R-help_at_r-project.org 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 09 Nov 2008 - 10:54:10 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 09 Nov 2008 - 12:30:22 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.

list of date sections of archive