Learn R Programming

⚠️There's a newer version (0.31.2) of this package.Take me there.

GAMS modularization support package

R package gms, version 0.4.0

Purpose and Functionality

A collection of tools to create, use and maintain modularized model code written in the modeling language GAMS (https://www.gams.com/).

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

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 Jan Philipp Dietrich dietrich@pik-potsdam.de.

Citation

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

@Manual{,
 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},
}

Copy Link

Version

Install

install.packages('gms')

Monthly Downloads

440

Version

0.4.0

License

BSD_2_clause + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Jan Dietrich

Last Published

July 1st, 2020

Functions in gms (0.4.0)

fulldataOutput

fulldataOutput
setScenario

setScenario
download_unpack

Download and unpack compressed data from repositories
selectScript

selectScript
update_fulldataOutput

update_fulldataOutput
update_modules_embedding

Update Modules Embedding in GAMS code
download_distribute

Download and unpack compressed data from repositories
is.modularGAMS

is.modularGAMS
interfaceplot

interfaceplot
codeCheck

codeCheck
model_dependencies

Function to detect R package dependencies
path

path
get_info

get_info
getfiledestinations

getfiledestinations
getModules

getModules
publish_data

Publish data in a repository
module.skeleton

Create a Module skeleton
replace_in_file

Replace in File
singleGAMSfile

Merge GAMS code into single file
settingsCheck

settingsCheck
read_yaml_header

read_yaml_header
tardir

Creative tgz archive from directory
modules_interfaceplot

modules_interfaceplot
updateInterfaceMapping

updateInterfaceMapping
model_lock

Model lock/unlock
readSetglobals

readSetglobals
readDeclarations

readDeclarations
checkDescription

checkDescription
convert.modularGAMS

convert.modularGAMS
check_config

Check config
codeExtract

codeExtract
GAMScodeFilter

GAMScodeFilter
checkSwitchAppearance

checkSwitchAppearance
copy_input

copy_input
delete_olddata

delete_olddata
checkAppearance

checkAppearance