Skip to content

R2WinBUGS

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

v2.1-24 · Feb 23, 2026 · GPL-2

Description

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>.

Downloads

7.4K

Last 30 days

1373rd

7.4K

Last 90 days

7.4K

Last year

CRAN Check Status

7 NOTE
7 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 NOTE
r-release-linux-x86_64 NOTE
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (14 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

R code for possible problems

Found the following calls to attach():
File ‘R2WinBUGS/R/attach.all.R’:
  attach(x, name = name)
See section ‘Good practice’ in ‘?attach’.
NOTE r-devel-linux-x86_64-debian-gcc

R code for possible problems

Found the following calls to attach():
File ‘R2WinBUGS/R/attach.all.R’:
  attach(x, name = name)
See section ‘Good practice’ in ‘?attach’.
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
OK r-devel-macos-arm64

*


            
OK r-devel-windows-x86_64

*


            
NOTE r-oldrel-macos-arm64

package dependencies

Package suggested but not available for checking: ‘BRugs’
NOTE r-oldrel-macos-x86_64

package dependencies

Package suggested but not available for checking: ‘BRugs’
NOTE r-oldrel-windows-x86_64

package dependencies

Package suggested but not available for checking: 'BRugs'
NOTE r-patched-linux-x86_64

R code for possible problems

Found the following calls to attach():
File ‘R2WinBUGS/R/attach.all.R’:
  attach(x, name = name)
See section ‘Good practice’ in ‘?attach’.
NOTE r-release-linux-x86_64

R code for possible problems

Found the following calls to attach():
File ‘R2WinBUGS/R/attach.all.R’:
  attach(x, name = name)
See section ‘Good practice’ in ‘?attach’.
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

NOTE 7 OK · 7 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-devel-linux-x86_64-debian-clang

R code for possible problems

Found the following calls to attach():
File ‘R2WinBUGS/R/attach.all.R’:
  attach(x, name = name)
See section ‘Good practice’ in ‘?attach’.
NOTE r-devel-linux-x86_64-debian-gcc

R code for possible problems

Found the following calls to attach():
File ‘R2WinBUGS/R/attach.all.R’:
  attach(x, name = name)
See section ‘Good practice’ in ‘?attach’.
NOTE r-patched-linux-x86_64

R code for possible problems

Found the following calls to attach():
File ‘R2WinBUGS/R/attach.all.R’:
  attach(x, name = name)
See section ‘Good practice’ in ‘?attach’.
NOTE r-release-linux-x86_64

R code for possible problems

Found the following calls to attach():
File ‘R2WinBUGS/R/attach.all.R’:
  attach(x, name = name)
See section ‘Good practice’ in ‘?attach’.
NOTE r-oldrel-macos-arm64

package dependencies

Package suggested but not available for checking: ‘BRugs’
NOTE r-oldrel-macos-x86_64

package dependencies

Package suggested but not available for checking: ‘BRugs’
NOTE r-oldrel-windows-x86_64

package dependencies

Package suggested but not available for checking: 'BRugs'

Reverse Dependencies (11)

Dependency Network

Dependencies Reverse dependencies coda boot R2jags isoWater spikeSlabGAM AICcmodavg BayesPostEst R2MLwiN bcrm bipd dclone lcra postpack R2WinBUGS

Version History

new 2.1-24 Mar 10, 2026