loadConfig: Load Config

View source: R/loadConfig.R

loadConfigR 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

saveConfig

Examples

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

gms documentation built on June 29, 2024, 9:07 a.m.