Learn R Programming

gms (version 0.31.2)

readSetglobals: readSetglobals

Description

Reads all setglobals given in a GAMS code and returns them.

Usage

readSetglobals(file)

Value

A vector of values the setglobal variables are set to with setglobal variables as names.

Arguments

file

A gams file or a vector containing GAMS code.

Author

Jan Philipp Dietrich

See Also

readDeclarations