Learn R Programming

R2WinBUGS (version 2.1-13)

bugs.run: Calling WinBUGS

Description

Updates the lengths of the adaptive phases in the WinBUGS registry (using bugs.update.settings), calls WinBUGS and runs it with script.txt - intended for internal use

Usage

bugs.run(n.burnin, bugs.directory,
         useWINE=.Platform$OS.type != "windows", WINE=NULL,
         newWINE=TRUE, WINEPATH=NULL)

Arguments

n.burnin
length of burn in
bugs.directory
directory that contains the WinBUGS executable
useWINE
as in bugs meta function
WINE
as in bugs meta function
newWINE
as in bugs meta function
WINEPATH
as in bugs meta function

Value

See Also

The main function to be called by the user is bugs.