validateInstallOpenBUGS {R2OpenBUGS} | R Documentation |
Compare OpenBUGS/R2OpenBUGS execution to results supplied with OpenBUGS
Description
A selected subset of the examples from the OpenBUGS manual is executed and compared to results supplied with the package to validate installation.
Usage
validateInstallOpenBUGS(
OpenBUGS.pgm=NULL,
useWINE=FALSE, WINE=NULL,
newWINE=TRUE, WINEPATH=NULL
)
Arguments
OpenBUGS.pgm |
See |
useWINE |
logical; attempt to use the Wine emulator to run
OpenBUGS. Default is |
WINE |
Character, path to ‘wine’ binary file, it is
tried hard (by a guess and the utilities |
newWINE |
Use new versions of Wine that have ‘winepath’ utility |
WINEPATH |
Character, path to ‘winepath’ binary file, it is
tried hard (by a guess and the utilities |
Details
Operation system support:
-
MS Windows Yes
-
Linux, intel processors Yes, but GUI display and graphics not available.
-
Mac OS X and Unix Wine emulation via
useWINE=TRUE
If useWINE=TRUE
is used, all paths (such as
working.directory
and model.file
, must be given in
native (Unix) style, but OpenBUGS.pgm
can be given in
Windows path style (e.g. “c:/Program Files/OpenBUGS/”) or
native (Unix) style
(e.g. “/path/to/wine/folder/dosdevices/c:/Program
Files/OpenBUGS/OpenBUGS321/OpenBUGS.exe”).
Value
No data returned. Prints match/no match result to console for each example.
Author(s)
Neal Thomas based on BRugs examples created by Chris Jackaon.
References
Gelman, A., Carlin, J.B., Stern, H.S., Rubin, D.B. (2003): Bayesian Data Analysis, 2nd edition, CRC Press.
Sturtz, S., Ligges, U., Gelman, A. (2005): R2WinBUGS: A Package for Running WinBUGS from R. Journal of Statistical Software 12(3), 1-16.