
JAGS, rjags, and coda packages for Fedora 13 i386 & 64 bit
June 4, 2010I spent the morning working on writing up a RPM spec file to package and maintain JAGS in Fedora. So hopefully my spec file looks good and my RPM can promptly be included in Fedora (hopefully 13). The beauty of this is that after installing JAGS from my RPM you don’t need to tell rjags where to look for JAGS because it’s already in a place where rjags will look by default. Also you don’t have to compile JAGS.
For the time being I am hosting the RPMs for jags i386 and jags 64 bit and jags-devel i386 and jags-devel 64 bit on Dropbox. Once they are accepted into Fedora they will be removed from Dropbox.
EDIT: This afternoon I packaged up rjags and coda for Fedora (also submitted for review). I hope to start maintaining these in Fedora. If you want to use them and try them out click here for rjags 64 bit and here for coda (both i386 and 64 bit) . Coda is platform independent but rjags is for 64 bit only. If you want to install rjags and you’re on a i386, just install the two JAGS rpms (jags and jags-devel) from above and fire up R and run:
install.packages("rjags")
And that should be it.

Hi there,
I installed the rjags package on R 2.11.0 running on OS X 10.5.8 but when I tried to load the library I got the following error message:
library(“rjags”)
Error : .onLoad failed in loadNamespace() for ‘rjags’, details:
call: dyn.load(file, DLLpath = DLLpath, …)
error: unable to load shared library ‘/Library/Frameworks/R.framework/Resources/library/rjags/libs/i386/rjags.so’:
dlopen(/Library/Frameworks/R.framework/Resources/library/rjags/libs/i386/rjags.so, 10): Library not loaded: /usr/local/lib/libjags.1.dylib
Referenced from: /Library/Frameworks/R.framework/Resources/library/rjags/libs/i386/rjags.so
Reason: image not found
Error: package/namespace load failed for ‘rjags’
Do you have any idea how I could solve it?
Many thanks in advance,
Ruben
Hi,
I am not sure. I am not on a Mac anymore. What I would suggest is that you contact Martyn Plummer and send him this error and see what he says. Though this might be useful to you … https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14277