MadRat commons Input Data Library

R package mrcommons, version 1.35.2

CRAN status DOI R build status codecov r-universe

Purpose and Functionality

Provides useful functions and a common structure to all the input data required to run models like MAgPIE and REMIND of model input data.


For installation of the most recent package version an additional repository has to be added in R:

options(repos = c(CRAN = "@CRAN@", pik = ""))

The additional repository can be made available permanently by adding the line above to a file called .Rprofile stored in the home folder of your system (Sys.glob("~") in R returns the home directory).

After that the most recent version of the package can be installed using install.packages:


Package updates can be installed using update.packages (make sure that the additional repository has been added before running that command):


Questions / Problems

In case of questions / problems please contact Jan Philipp Dietrich


To cite package mrcommons in publications use:

Bodirsky B, Karstens K, Baumstark L, Weindl I, Wang X, Mishra A, Wirth S, Stevanovic M, Steinmetz N, Kreidenweis U, Rodrigues R, Popov R, Humpenoeder F, Giannousakis A, Levesque A, Klein D, Araujo E, Beier F, Oeser J, Pehl M, Leip D, Crawford M, Molina Bacca E, von Jeetze P, Martinelli E, Schreyer F, Soergel B, Führlich P, Hötten D, Hasse R, Dietrich J (2023). mrcommons: MadRat commons Input Data Library. doi:10.5281/zenodo.3822009, R package version 1.35.2,

A BibTeX entry for LaTeX users is

latex @Manual{, title = {mrcommons: MadRat commons Input Data Library}, author = {Benjamin Leon Bodirsky and Kristine Karstens and Lavinia Baumstark and Isabelle Weindl and Xiaoxi Wang and Abhijeet Mishra and Stephen Wirth and Mishko Stevanovic and Nele Steinmetz and Ulrich Kreidenweis and Renato Rodrigues and Roman Popov and Florian Humpenoeder and Anastasis Giannousakis and Antoine Levesque and David Klein and Ewerton Araujo and Felicitas Beier and Julian Oeser and Michaja Pehl and Debbora Leip and Michael Crawford and Edna {Molina Bacca} and Patrick {von Jeetze} and Eleonora Martinelli and Felix Schreyer and Bjoern Soergel and Pascal Führlich and David Hötten and Robin Hasse and Jan Philipp Dietrich}, year = {2023}, note = {R package version 1.35.2}, doi = {10.5281/zenodo.3822009}, url = {}, }

pik-piam/mrcommons documentation built on Sept. 18, 2023, 11:21 p.m.