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

Last 30 days

1393rd

24.3K

Last 90 days

128.5K

Last year

Trend: -0.5% (30d vs prior 30d)

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

Check History

NOTE 7 OK · 7 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 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
updated 2.1-24 ← 2.1-23 diff Feb 22, 2026
updated 2.1-23 ← 2.1-22.1 diff Jul 22, 2025
updated 2.1-22.1 ← 2.1-22 diff Feb 4, 2024
updated 2.1-22 ← 2.1-21 diff Dec 15, 2023
updated 2.1-21 ← 2.1-20 diff Jul 29, 2015
updated 2.1-20 ← 2.1-19 diff May 30, 2015
updated 2.1-19 ← 2.1-18 diff Apr 6, 2013
updated 2.1-18 ← 2.1-16 diff Mar 21, 2011
updated 2.1-16 ← 2.1-15 diff Nov 7, 2009
updated 2.1-15 ← 2.1-14 diff Nov 4, 2009
updated 2.1-14 ← 2.1-13 diff Apr 13, 2009
updated 2.1-13 ← 2.1-12 diff Mar 28, 2009
updated 2.1-12 ← 2.1-11 diff Feb 12, 2009
updated 2.1-11 ← 2.1-10 diff Feb 2, 2009
updated 2.1-10 ← 2.1-9 diff Jan 19, 2009
updated 2.1-9 ← 2.1-8 diff Jan 7, 2009
updated 2.1-8 ← 2.1-7 diff Jan 31, 2008
updated 2.1-7 ← 2.1-6 diff Jan 20, 2008
updated 2.1-6 ← 2.1-4 diff Sep 12, 2007