Tree [3883ab] release-3_patched /

File Date Author Commit
 R 2013-02-04 martyn martyn [3883ab] Update .onLoad and .onAttach to conform to good...
 data 2010-09-22 martyn_plummer martyn_plummer [fda875] - Tidied up R interface code in after f...
 man 2012-05-15 martyn martyn [d8c018] Updated documentation for list.samplers()
 src 2013-02-04 martyn martyn [d7e82f] Merge changes from release branch
 .hgtags 2011-01-05 convert-repo convert-repo [4054d4] update tags
 DESCRIPTION 2013-02-04 martyn martyn [d7e82f] Merge changes from release branch
 NAMESPACE 2011-09-03 martyn martyn [858cf4] Added parallel.seeds function
 README 2012-02-18 martyn martyn [9d0cdd] Branch merge
 aclocal.m4 2007-12-18 martyn_plummer martyn_plummer [26b00e] Bump to 1.0.1
 cleanup 2008-03-18 martyn_plummer martyn_plummer [7f6cf1] Drop pkg-config dependency. Script now guesses ...
 configure 2012-11-07 martyn martyn [98940e] Updated to link to jags 4.x library and modules 2012-11-07 martyn martyn [98940e] Updated to link to jags 4.x library and modules 2010-05-17 martyn_plummer martyn_plummer [0baf7d] Update Windows configuration.

Read Me

The rjags package is an interface to the JAGS library.  In order to
build a binary package, or install from source, you must have a matching
installation of the JAGS library.


At compile time, there is no way for Windows to guess where the JAGS
library is installed, so you must supply the location yourself using
the make variable JAGS_ROOT, defining it in the file HOME/.R/

JAGS_ROOT=c:\Program Files\JAGS\JAGS-3.1.0


The configure script will try to guess the location of the JAGS
library installation. It will look in /<prefix>/<lib>, where

- <prefix> is the determined from the location of the jags
  script that launches the command line interface.

  For example, if this is "/usr/local/bin/jags", then prefix will
  be "/usr/local"

- <lib> is derived from the value of "LIBnn", returned by 
  "R CMD config LIBnn".

  This is particularly important on 64-bit unix, where R is 
  installed by default in /usr/local/lib64 and LIBnn is "lib64"

The configure script will also look for JAGS headers in

If the configure script fails to find the JAGS headers or library,
you can set the environment variables JAGS_INCLUDE and JAGS_LIB
to point to the correct directory.

Alternatively, you can use the configure options

                    (default /usr/local/include/JAGS)

                (default /usr/local/[lib|lib64])

These options are onto the rjags configure script with:
"R CMD INSTALL --configure-args='--with-jags...'

Exceptionally, you may need to set the location of the JAGS modules.
But this will only be necessary if you reset moddir when installing
JAGS. This can be done by setting the environment variabel JAGS_MODULES
or by using the configure option

                    (default /usr/local/[lib|lib64]/JAGS/modules-w.y.z)
                     where w.y.z is the version number of JAGS

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks