Learn R Programming

gms (version 0.31.2)

loadConfig: 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.

Author

Jan Philipp Dietrich

Details

To read in the default configuration (stored as R list in default.cfg or in a gams file), use readDefaultConfig instead.

See Also

saveConfig

Examples

Run this code
cfg <- list(input = c(data1 = "blub.tgz", data2 = "bla.tgz"), mode = "default")
yml <- saveConfig(cfg)
loadConfig(yml)

Run the code above in your browser using DataLab