runjags: Interface Utilities, Model Templates, Parallel Computing Methods and Additional Distributions for MCMC Models in JAGS

User-friendly interface utilities for MCMC models via Just Another Gibbs Sampler (JAGS), facilitating the use of parallel (or distributed) processors for multiple chains, automated control of convergence and sample length diagnostics, and evaluation of the performance of a model using drop-k validation or against simulated data. Template model specifications can be generated using a standard lme4-style formula interface to assist users less familiar with the BUGS syntax. A JAGS extension module provides additional distributions including the Pareto family of distributions, the DuMouchel prior and the half-Cauchy prior.

Version: 2.2.2-4
Depends: R (≥ 2.14.0)
Imports: parallel, lattice (≥ 0.20-10), coda (≥ 0.17-1), stats, utils
Suggests: rjags (≥ 4-7), modeest, testthat (≥ 3.0.0), knitr, markdown, spelling
Published: 2024-03-10
DOI: 10.32614/CRAN.package.runjags
Author: Matthew Denwood [aut, cre], Martyn Plummer [cph] (Copyright holder of the code in src/distributions/DPar1.*,, R/rjags_functions.R, and original copyright holder of some modified code where indicated)
Maintainer: Matthew Denwood <md at>
License: GPL-2
NeedsCompilation: yes
SystemRequirements: JAGS >= 4.3.0 (
Language: en-GB
Citation: runjags citation info
Materials: README ChangeLog INSTALL
In views: Bayesian
CRAN checks: runjags results


Reference manual: runjags.pdf
Vignettes: A quick-start guide to running models in JAGS
Using the runjags package


Package source: runjags_2.2.2-4.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): runjags_2.2.2-4.tgz, r-oldrel (arm64): runjags_2.2.2-4.tgz, r-release (x86_64): runjags_2.2.2-4.tgz, r-oldrel (x86_64): runjags_2.2.2-4.tgz
Old sources: runjags archive

Reverse dependencies:

Reverse imports: BANOVA, bayescount, BayesPostEst, BayLum, bfw, ern, IsotopeR, mcmsupply, MPTmultiverse, neojags, ordinalbayes, pivmet, RcmdrPlugin.RMTCJags, RoBMA, RoBSA, swfscMisc, TreeBUGS
Reverse suggests: BayesTools, blavaan, bridgesampling, icensBKL, metamisc, mvgam, runMCMCbtadjust, surveillance, surveyvoi, tidybayes


Please use the canonical form to link to this page.