Before installing NIMBLE, you need a compiler and related tools such as make that R can use. You’ll need these anyway to use NIMBLE. On Windows you can get these by installing Rtools.exe from here (be sure to check the box that will modify your PATH).  On Mac OS X you can get these by installing Xcode via the command line tools.

More details are provided in Section 4 of the User Manual.

If you install a new version of R, you will need to reinstall NIMBLE.

Current version (0.6-3)

Installing from CRAN

NIMBLE is now available from CRAN as a source package and as a binary package for Windows and Mac OS. Please note that even if you install from CRAN, you still need to have a compiler and related tools installed as discussed above and in Section 4 of our User Manual.

Installing from

If you prefer, you can install the package directly from our repository as follows.

If you install in this manner, please first install the igraph and coda R packages as these are dependencies and will not be automatically installed when installing from source.

At the moment only the installation from source works when installing from our repository. Invoke the following at the R command line:

# Install from source for MacOS, Linux, or Windows:
install.packages("nimble", repos = "", type = "source')
# the 'type = "source"' is unnecessary for Linx

Or download the source package for installation via R CMD INSTALL on Linux, Mac, or Windows

The NIMBLE source code can be viewed by unzipping the source package tarball or directly on our Github repository.

Older versions

For a summary of changes in each version, please see the News page or the NEWS file in the package.

Version 0.6-2 source package.

Version 0.6-1 source package.

Version 0.6 only existed briefly on CRAN and is essentially identical to Version 0.6-1.

Version 0.5-1 source package.

Version 0.5 source package.

Version 0.4-1 source package.

Version 0.4 source package.

Version 0.3-1 source package.

Version 0.3 source package.

Version 0.2 source package.

Version 0.1-1 source package.

Version 0.1 source package.