Skip to content

nimble

MCMC, Particle Filtering, and Programmable Hierarchical Modeling

v1.4.2 · Mar 31, 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

6K

Last 30 days

1603rd

18K

Last 90 days

74.7K

Last year

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

CRAN Check Status

1 WARNING
4 NOTE
9 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 NOTE
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 WARNING
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 (5 non-OK)
NOTE r-devel-macos-arm64

compiled code

File ‘nimble/libs/nimble.so’:
  Found non-API call to R: ‘R_MissingArg’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
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
WARNING r-patched-linux-x86_64

compiled code

File ‘nimble/libs/nimble.so’:
  Found non-API calls to R: ‘R_MissingArg’, ‘Rf_findVar’,
    ‘Rf_findVarInFrame’
These entry points may be removed soon:
‘Rf_findVar’, ‘Rf_findVarInFrame’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.

Additional Issues

Check History

WARNING 6 OK · 5 NOTE · 3 WARNING · 0 ERROR · 0 FAILURE Mar 20, 2026
NOTE r-devel-linux-x86_64-debian-clang

compiled code

File ‘nimble/libs/nimble.so’:
  Found non-API calls to R: ‘Rf_findVar’, ‘Rf_findVarInFrame’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
WARNING r-devel-linux-x86_64-debian-gcc

compiled code

File ‘nimble/libs/nimble.so’:
  Found non-API calls to R: ‘Rf_findVar’, ‘Rf_findVarInFrame’
These entry points may be removed soon:
‘Rf_findVar’, ‘Rf_findVarInFrame’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
WARNING r-devel-linux-x86_64-fedora-clang

compiled code

File ‘nimble/libs/nimble.so’:
  Found non-API calls to R: ‘Rf_findVar’, ‘Rf_findVarInFrame’
These entry points may be removed soon:
‘Rf_findVar’, ‘Rf_findVarInFrame’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
WARNING r-devel-linux-x86_64-fedora-gcc

compiled code

File ‘nimble/libs/nimble.so’:
  Found non-API calls to R: ‘Rf_findVar’, ‘Rf_findVarInFrame’
These entry points may be removed soon:
‘Rf_findVar’, ‘Rf_findVarInFrame’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-windows-x86_64

compiled code

File 'nimble/libs/x64/nimble.dll':
  Found non-API calls to R: 'Rf_findVar', 'Rf_findVarInFrame'

Compiled code should not call non-API entry points in R.

See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.
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
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 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 (28)

Dependency Network

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

Version History

updated 1.4.2 ← 1.4.1 diff Apr 1, 2026
new 1.4.1 Mar 10, 2026
updated 1.4.1 ← 1.4.0 diff Feb 12, 2026
updated 1.4.0 ← 1.3.0 diff Dec 12, 2025
updated 1.3.0 ← 1.2.1 diff Dec 16, 2024
updated 1.2.1 ← 1.2.0 diff Jul 29, 2024
updated 1.2.0 ← 1.1.0 diff Jun 8, 2024
updated 1.1.0 ← 1.0.1 diff Jan 30, 2024
updated 1.0.1 ← 1.0.0 diff Jun 14, 2023
updated 1.0.0 ← 0.13.2 diff May 22, 2023
updated 0.13.2 ← 0.13.1 diff May 13, 2023
updated 0.13.1 ← 0.13.0 diff Dec 13, 2022
updated 0.13.0 ← 0.12.2 diff Nov 14, 2022
updated 0.12.2 ← 0.12.1 diff Feb 23, 2022
updated 0.12.1 ← 0.12.0 diff Oct 8, 2021
updated 0.12.0 ← 0.11.1 diff Sep 27, 2021
updated 0.11.1 ← 0.11.0 diff May 22, 2021
updated 0.11.0 ← 0.10.1 diff Apr 16, 2021
updated 0.10.1 ← 0.10.0 diff Nov 22, 2020
updated 0.10.0 ← 0.9.1 diff Oct 9, 2020