pik-piam / magpie4

R package | MAgPIE outputs R package for MAgPIE version 4.x
GNU Lesser General Public License v3.0
2 stars 24 forks source link

MAgPIE outputs R package for MAgPIE version 4.x

R package magpie4, version 2.15.6

CRAN status DOI R build status codecov r-universe

Purpose and Functionality

Common output routines for extracting results from the MAgPIE framework (versions 4.x).

Installation

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("magpie4")

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

update.packages()

Questions / Problems

In case of questions / problems please contact Benjamin Leon Bodirsky bodirsky@pik-potsdam.de.

Citation

To cite package magpie4 in publications use:

Bodirsky B, Humpenoeder F, Dietrich J, Stevanovic M, Weindl I, Karstens K, Wang X, Mishra A, Beier F, Breier J, Yalew A, Chen D, Biewald A, Wirth S, von Jeetze P, Leip D, Crawford M, Alves M (2024). magpie4: MAgPIE outputs R package for MAgPIE version 4.x. doi:10.5281/zenodo.1158582 https://doi.org/10.5281/zenodo.1158582, R package version 2.15.6, https://github.com/pik-piam/magpie4.

A BibTeX entry for LaTeX users is

@Manual{,
  title = {magpie4: MAgPIE outputs R package for MAgPIE version 4.x},
  author = {Benjamin Leon Bodirsky and Florian Humpenoeder and Jan Philipp Dietrich and Miodrag Stevanovic and Isabelle Weindl and Kristine Karstens and Xiaoxi Wang and Abhijeet Mishra and Felicitas Beier and Jannes Breier and Amsalu Woldie Yalew and David Chen and Anne Biewald and Stephen Wirth and Patrick {von Jeetze} and Debbora Leip and Michael Crawford and Marcos Alves},
  year = {2024},
  note = {R package version 2.15.6},
  url = {https://github.com/pik-piam/magpie4},
  doi = {10.5281/zenodo.1158582},
}