Installing Rcpp

RMAPI relies on the Rcpp package, which requires the following OS-specific steps:

Installing and loading RMAPI

Next, in R, ensure that you have the devtools package installed by running

install.packages("devtools", repos='http://cran.us.r-project.org')

Then install the RMAPI package directly from GitHub by running

devtools::install_github("mrc-ide/RMAPI")

If you have any problems installing, please check the Known issues page to see if there is a known solution. If not then please raise an issue on github.

Assuming everything installed correctly, we need to load the package:

library(RMAPI)

You can test that the package is loaded and working by running the following command, which should produce this output:

check_RMAPI_loaded()


mrc-ide/RMAPI documentation built on Feb. 11, 2020, 4:53 a.m.