GAMS modularization support package

R package gms, version 0.4.0

Travis build status codecov

Purpose and Functionality

A collection of tools to create, use and maintain modularized model code written in the modeling language GAMS (


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 gms in publications use:

Dietrich J, Klein D, Giannousakis A, Beier F, Koch J, Baumstark L (2020). gms: GAMS modularization support package. R package version 0.4.0.

A BibTeX entry for LaTeX users is

 title = {gms: GAMS modularization support package},
 author = {Jan Philipp Dietrich and David Klein and Anastasis Giannousakis and Felicitas Beier and Johannes Koch and Lavinia Baumstark},
 year = {2020},
 note = {R package version 0.4.0},