Learn R Programming

R2WinBUGS (version 2.1-22.1)

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)

Value

Nothing, but has side effects as documented in

bugs.update.settings and calls WinBUGS.

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

See Also

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