According to the README file in the rjags source code (in the tar.gz
file), you can apparently pass options to the configure script to
specify where JAGS is installed.
I'm confident you can solve your problem by following the instructions
in that README file.


On 5 November 2015 at 10:10, Evan Cooch <evan.co...@gmail.com> wrote:
> 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
>> .
>>
>>
>



-- 
Yvan Richard

      DRAGONFLY Science

Physical address: Level 5, 158 Victoria St, Te Aro, Wellington
Postal address: PO Box 27535, Wellington 6141
New Zealand
Ph: 04.385.9285
web page

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.

Reply via email to