A selected subset of the examples from the OpenBUGS manual is executed and compared to results supplied with the package to validate installation.
validateInstallOpenBUGS(
OpenBUGS.pgm=NULL,
useWINE=FALSE, WINE=NULL,
newWINE=TRUE, WINEPATH=NULL
)
See bugs
.
logical; attempt to use the Wine emulator to run
OpenBUGS. Default is FALSE
. If WINE is used, the arguments OpenBUGS.pgm
and working.directory
must be given in form of Linux paths
rather than Windows paths (if not NULL
).
Character, path to wine
binary file, it is
tried hard (by a guess and the utilities which
and locate
)
to get the information automatically if not given.
Use new versions of Wine that have winepath
utility
Character, path to winepath
binary file, it is
tried hard (by a guess and the utilities which
and locate
)
to get the information automatically if not given.
No data returned. Prints match/no match result to console for each example.
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”).
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.