Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cran/lossDev
Robust Loss Development Using MCMC
https://github.com/cran/lossDev
Last synced: 8 days ago
JSON representation
Robust Loss Development Using MCMC
- Host: GitHub
- URL: https://github.com/cran/lossDev
- Owner: cran
- License: gpl-3.0
- Created: 2014-03-13T17:14:06.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-04-02T23:42:10.000Z (over 10 years ago)
- Last Synced: 2024-08-13T07:13:03.591Z (4 months ago)
- Language: R
- Homepage:
- Size: 18.4 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
- jimsghstars - cran/lossDev - Robust Loss Development Using MCMC (R)
README
The below is taken (with slight modificiations) from the rjags package.
The lossDev 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
-------There is no way for windows to guess where the JAGS library is installed,
so you must supply it 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.0Unix
----The configure script will try to guess the location of the JAGS
library installation. It will look in //, where- 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"- 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
//include/JAGSIf 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 lossDev 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