Tree [fda875] default /
History



File Date Author Commit
R 2010-09-20 martyn_plummer martyn_plummer [c629bb] Bug fixes for 2.1.0-8 and 2.1.0-9.
data 2010-09-22 martyn_plummer martyn_plummer [fda875] - Tidied up R interface code in jags.cc after f...
man 2010-09-22 martyn_plummer martyn_plummer [fda875] - Tidied up R interface code in jags.cc after f...
src 2010-09-22 martyn_plummer martyn_plummer [fda875] - Tidied up R interface code in jags.cc after f...
DESCRIPTION 2010-09-22 martyn_plummer martyn_plummer [fda875] - Tidied up R interface code in jags.cc after f...
NAMESPACE 2010-04-14 martyn_plummer martyn_plummer [b2affd] updated with new features
README 2010-07-29 martyn_plummer martyn_plummer [507aa8] Bump version number after modifying linking to ...
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 2010-05-12 martyn_plummer martyn_plummer [157ad6] Sync version number in configure script with pa...
configure.ac 2010-05-12 martyn_plummer martyn_plummer [157ad6] Sync version number in configure script with pa...
configure.win 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.

Windows
-------

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 variable JAGS_ROOT.

You can specify JAGS_ROOT as an environment variable, e.g.  on 32-bit
windows:

set JAGS_ROOT=c:\Program Files\JAGS\JAGS-2.1.0

or, for 64-bit windows

set JAGS_ROOT=c:\Program Files\JAGS\JAGS-2.1.0-x64
or
set JAGS_ROOT=c:\Program Files (x86)\JAGS\JAGS-2.1.0

In R >= 2.12.0 you will be able to set JAGS_ROOT as a (platform-
specific) make variable in etc${R_ARCH}/Makevars.win.

Unix
----

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
/<prefix>/include/JAGS

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

--with-jags-include=/path/to/jags/headers 
                    (default /usr/local/include/JAGS)

--with-jags-lib=/path/to/jags/library
                (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

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