Learn R Programming

gms (version 0.31.2)

saveConfig: Save Config

Description

Saves config in YAML format so that it can be read in again via loadConfig.

Usage

saveConfig(cfg, file = NULL)

Arguments

cfg

Input config which should be saved

file

A character string naming a file. If set to NULL the YAML output will be returned by the function.

Author

Jan Philipp Dietrich

See Also

loadConfig

Examples

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

Run the code above in your browser using DataLab