Running 'WinBUGS' and 'OpenBUGS' from 'R' / 'S-PLUS'

Invoke a 'BUGS' model in 'OpenBUGS' or 'WinBUGS', a class "bugs" for 'BUGS' results and functions to work with that class. Function write.model() allows a 'BUGS' model file to be written. The class and auxiliary functions could be used with other MCMC programs, including 'JAGS'. The suggested package 'BRugs' (only needed for function openbugs()) is only available from the CRAN archives, see < https://cran.r-project.org/package=BRugs>.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("R2WinBUGS")

2.1-24 by Uwe Ligges, 8 months ago


Browse source code at https://github.com/cran/R2WinBUGS


Authors: Andrew Gelman [aut] , Sibylle Sturtz [aut] , Uwe Ligges [cre, aut] , Gregor Gorjanc [ctb] , Jouni Kerman [ctb] , Insightful Corp. [ctb] (Port to S-PLUS)


Documentation:   PDF Manual  


GPL-2 license


Imports utils, stats, graphics

Depends on coda, boot

Suggests BRugs

System requirements: OpenBugs for functions bugs() and openbugs() or WinBUGS 1.4 for function bugs()


Imported by R2jags, isoWater, spikeSlabGAM.

Suggested by AICcmodavg, BayesPostEst, R2MLwiN, bipd, dclone, lcra, postpack.


See at CRAN