R package mstools, version 0.17.0
Tool functions that can be used by several madrat-dependent or magpie4 output functions.
For installation of the most recent package version an additional repository has to be added in R:
options(repos = c(CRAN = "@CRAN@", pik = "https://rse.pik-potsdam.de/r/packages"))
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:
install.packages("mstools")
Package updates can be installed using update.packages (make sure that the additional repository has been added before running that command):
update.packages()
In case of questions / problems please contact Benjamin Leon Bodirsky bodirsky@pik-potsdam.de.
To cite package mstools in publications use:
Bodirsky B, Karstens K, Beier F, Dietrich J, Sauer P (2026). "mstools: Tool functions that can be used by several madrat-dependent or magpie4 output functions." doi:10.5281/zenodo.1158582 https://doi.org/10.5281/zenodo.1158582. Version: 0.17.0, https://github.com/pik-piam/magpie4.
A BibTeX entry for LaTeX users is
@Misc{,
title = {mstools: Tool functions that can be used by several madrat-dependent or
magpie4 output functions},
author = {Benjamin Leon Bodirsky and Kristine Karstens and Felicitas Beier and Jan Philipp Dietrich and Pascal Sauer},
doi = {10.5281/zenodo.1158582},
date = {2026-09-22},
year = {2026},
url = {https://github.com/pik-piam/magpie4},
note = {Version: 0.17.0},
}