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-4)
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 R-nimble.org
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 = "http://r-nimble.org", 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.
Previous releases of NIMBLE can be found here.
For a summary of changes in each version, please see the News page or the NEWS file in the package.