JAGS, rjags, and coda packages for Fedora 13 i386 & 64 bit

June 4, 2010

I 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:

And that should be it.



  1. 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:

    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,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: