[R] JAGS 4.x, rjags 4.x problems | Linux

Evan Cooch evan.cooch at gmail.com
Wed Nov 4 22:10:13 CET 2015

I wonder if this is the problem -- on my system(s), R is installed to 
/usr/lib64/R, whereas JAGS and associated files is in 
/usr/local/lib/JAGS. I have a hunch that the problem relates to where  
rjags expects to find things during install/compile, given how R was 
compiled, and where it is installed.

Seem reasonable? Not sure what to do about it, but...

On 11/4/2015 3:42 PM, Evan Cooch wrote:
> On 11/4/2015 3:31 PM, Yvan Richard wrote:
>> Hi Evan
>> The last version of rjags on CRAN is 4.4. Have you tried it?
>> http://cran.stat.auckland.ac.nz/web/packages/rjags/index.html
>> I did have the same problem before updating it, but it now works on my
>> Ubuntu with the new JAGS version.
>> Cheers,
>> -Yvan
> yes, but when I do, I get the following during the install (which fails).
> checking version of JAGS library... wrong version
> configure: error: rjags requires JAGS version 4.x.y
> ERROR: configuration failed for package ‘rjags’
> * removing ‘/usr/lib64/R/library/rjags’
> * restoring previous ‘/usr/lib64/R/library/rjags’
> which makes no sense, because I have JAGS 4.0.01 on the system, and in 
> the path
> Welcome to JAGS 4.0.1 on Wed Nov  4 15:41:46 2015
> JAGS is free software and comes with ABSOLUTELY NO WARRANTY
> Loading module: basemod: ok
> Loading module: bugs: ok
> .

More information about the R-help mailing list