Hi, having successfully installed JAGS, R2jags and R2WinBUGS on my Mac OS 10.6.5 and running R 2.12.1, I've tried to launch R2jags with the following error message:
library(R2jags)
Loading required package: R2WinBUGS
Loading required package: rjags
Error : .onLoad failed in loadNamespace() for 'rjags', details:
call: load.module("basemod")
error: File not found: /usr/local/lib/JAGS/modules-2.1.0/basemod.so
Error: package 'rjags' could not be loaded
From the Terminal I've managed to navigate to /usr/local/lib/JAGS and I find that the modules directory is called "modules-2.2.0" and not as seems to be required above modules-2.1.0 - so the package is unable to locate basemod.so.
Having exhausted my very limited knowledge of unix I'm not clear as to how to remedy this problem.
Any direct solution available?
Or must I learn some unix commands and either rename the folder (I suspect that there might be read/write limitations here) or create a modules-2.1.0 folder and copy the relevant files into it and assume that that will fix the problem?
Any advice would be appreciated.
Many thanks,
Alan Kelly
Trinity College Dublin
-------------------------------------------------------------------
This list is for discussion of modelling issues and the BUGS software.
For help with crashes and error messages, first mail [log in to unmask]
To mail the BUGS list, mail to [log in to unmask]
Before mailing, please check the archive at www.jiscmail.ac.uk/lists/bugs.html
Please do not mail attachments to the list.
To leave the BUGS list, send LEAVE BUGS to [log in to unmask]
If this fails, mail [log in to unmask], NOT the whole list
|