runBugs {rbugs} | R Documentation |
Create the system command to run BUGS and execute it.
runBugs(bugs=Sys.getenv("BUGS"), script, n.chains, workingDir, useWine=FALSE, wine=Sys.getenv("WINE"), linbugs = TRUE, verbose = TRUE)
bugs |
A character string specifying the full name (including path) of the BUGS executable. It must end with .txt to be recognizable by BUGS. |
script |
A character string specifying the full name (including path) of the script to be run. It must end with .txt to be recognizable by BUGS. |
n.chains |
The number of MCMC chains. |
workingDir |
The working directory where the output files from BUGS are stored. |
useWine |
A logical value indicating if wine is to be used. |
wine |
A character string specifying the full name (including path) of the wine executable. |
linbugs |
|
verbose |
If TRUE, print the log file from BUGS. |
None.
Jun Yan jyan@stat.uiowa.edu