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

From: Roger Levy <>
Date: Sun, 09 Nov 2008 13:23:58 -0800

Sebastian P. Luque wrote:
> Hi Roger,
> On Sat, 08 Nov 2008 14:31:01 -0800,
> Roger Levy <> wrote:

>> 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/':
>> 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?

> In addition to the other suggestions, keep an eye out on the jags Debian
> package (thanks to Dirk Eddelbuettel), which should hit the etch
> distribution soon hopefully (in sid now). Once installed, you don't (at
> least I didn't) need to pass any 'configure.args' to install.packages().

Many thanks for the heads-up, Sebastian -- I will keep an eye out.



Roger Levy                      Email:
Assistant Professor             Phone: 858-534-7219
Department of Linguistics       Fax:   858-534-4789
UC San Diego                    Web:

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Sun 09 Nov 2008 - 22:24:51 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 - 22:30:24 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive