loadConfig {gms} | R Documentation |
Load Config
Description
Load config in YAML format as written via
saveConfig
.
Usage
loadConfig(cfg)
Arguments
cfg |
Either a character string naming a file which containes the config or a character string containing the config as YAML code. |
Details
To read in the default configuration (stored as R list in default.cfg or in a gams file), use
readDefaultConfig
instead.
Author(s)
Jan Philipp Dietrich
See Also
Examples
cfg <- list(input = c(data1 = "blub.tgz", data2 = "bla.tgz"), mode = "default")
yml <- saveConfig(cfg)
loadConfig(yml)
[Package gms version 0.31.2 Index]