runBugs {rbugs}R Documentation

Execute a BUGS Srcipt from R

Description

Create the system command to run BUGS and execute it.

Usage

runBugs(bugs=Sys.getenv("BUGS"), script, n.chains, workingDir,
        useWine=FALSE, wine=Sys.getenv("WINE"),
        linbugs = TRUE, verbose = TRUE)

Arguments

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.

Value

None.

Author(s)

Jun Yan jyan@stat.uiowa.edu

See Also

rbugs


[Package rbugs version 0.3-6 Index]