bugs.run {R2WinBUGS} | R Documentation |
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 only
bugs.run(n.burnin, bugs.directory, WINE = "", useWINE = .Platform$OS.type != "windows", newWINE = TRUE, WINEPATH = NULL)
n.burnin |
length of burn in |
bugs.directory |
directory that contains the WinBUGS executable |
WINE |
name of WINE binary, for Windows emulation |
useWINE |
logical; attempt to use the WINE emulator to run WinBUGS,
defaults to TRUE on Windows, and FALSE otherwise.
The useWINE = TRUE option is not available in S-PLUS. |
newWINE |
set this one to TRUE for new versions of WINE. |
WINEPATH |
Path the WINE, bugs tries hard to get the information automatically and
pass it to this function, if not given. |
Does not return anything.
The main function to be called by the user is bugs
.