What is this?

The inlabru R package is was initially developed as part of a research project entitled “Modelling spatial distribution and change from wildlife survey data”, which is funded by the UK Engineering and Physical Sciences Research Council, to develop and implement innovative methods to model spatial distribution and change from ecological survey data. It involved developing Integrated Nested Laplace Approximation (INLA) methods for fitting realistically complex spatial models to data obtained from surveys on which the probability of detecting population members is unknown.

The project is a collaborative effort between the Universities of St Andrews (David Borchers, Janine Illian, Steve Buckland and Joyce Yuan) and Edinburgh (Finn Lindgren and Fabian E. Bachl).

Tutorials for version 2.1.13 (current CRAN version) are on this site.
Tutorial examples for version 2.2.4 and newer can be found under Articles on

You can get inlabru from CRAN!

The inlabru package is now part of the CRAN library. The package requires the INLA package, which you may need to install separately first (due to how CRAN handle suggested packages that are not available on CRAN). You can install the two packages by running

install.packages("INLA", repos="")


To get the latest development version, replace the second line with


Found a bug?

inlabru is hosted on Github, which provides an interface to report and track bugs, as well as instructions for installing newer bugfix releases and the current development version. If you encounter a problem please report it here.