Skip to content

nimble

MCMC, Particle Filtering, and Programmable Hierarchical Modeling

v1.4.1 · Feb 12, 2026 · BSD_3_clause + file LICENSE | GPL (>= 2)

Description

A system for writing hierarchical statistical models largely compatible with 'BUGS' and 'JAGS', writing nimbleFunctions to operate models and do basic R-style math, and compiling both models and nimbleFunctions via custom-generated C++. 'NIMBLE' includes default methods for MCMC, Laplace Approximation, deterministic nested approximations, Monte Carlo Expectation Maximization, and some other tools. The nimbleFunction system makes it easy to do things like implement new MCMC samplers from R, customize the assignment of samplers to different parts of a model from R, and compile the new samplers automatically via C++ alongside the samplers 'NIMBLE' provides. 'NIMBLE' extends the 'BUGS'/'JAGS' language by making it extensible: New distributions and functions can be added, including as calls to external compiled code. Although most people think of MCMC as the main goal of the 'BUGS'/'JAGS' language for writing models, one can use 'NIMBLE' for writing arbitrary other kinds of model-generic algorithms as well. A full User Manual is available at <https://r-nimble.org>.

Downloads

5.3K

Last 30 days

1635th

5.3K

Last 90 days

5.3K

Last year

CRAN Check Status

3 NOTE
11 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc 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 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (14 non-OK)
OK r-devel-linux-x86_64-debian-clang

*


            
OK r-devel-linux-x86_64-debian-gcc

*


            
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

installed package size

  installed size is 45.6Mb
  sub-directories of 1Mb or more:
    CppCode        3.8Mb
    R              8.1Mb
    classic-bugs   1.5Mb
    include       11.6Mb
    libs          19.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

  installed size is 46.6Mb
  sub-directories of 1Mb or more:
    CppCode        4.3Mb
    R              8.1Mb
    classic-bugs   1.5Mb
    include       11.6Mb
    libs          20.4Mb
NOTE r-oldrel-windows-x86_64

installed package size

  installed size is 27.6Mb
  sub-directories of 1Mb or more:
    CppCode   5.2Mb
    R         7.7Mb
    include  11.7Mb
    libs      1.2Mb
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Additional Issues

Check History

NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-oldrel-macos-arm64

installed package size

  installed size is 45.6Mb
  sub-directories of 1Mb or more:
    CppCode        3.8Mb
    R              8.1Mb
    classic-bugs   1.5Mb
    include       11.6Mb
    libs          19.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

  installed size is 46.6Mb
  sub-directories of 1Mb or more:
    CppCode        4.3Mb
    R              8.1Mb
    classic-bugs   1.5Mb
    include       11.6Mb
    libs          20.4Mb
NOTE r-oldrel-windows-x86_64

installed package size

  installed size is 27.6Mb
  sub-directories of 1Mb or more:
    CppCode   5.2Mb
    R         7.7Mb
    include  11.7Mb
    libs      1.2Mb

Reverse Dependencies (26)

Dependency Network

Dependencies Reverse dependencies igraph coda R6 pracma numDeriv BayesNSGP BayesSIM DPCD MultiNMix Xcertainty baorista compareMCMCs nimbleAPT nimbleCarbon nimbleEcology nimbleHMC nimbleMacros nimbleNoBounds nimbleQuad nimbleSCR +11 more reverse deps nimble

Version History

new 1.4.1 Mar 9, 2026