powered by
Get config file parameter sections
eval.config.sections( file = Sys.getenv("R_CONFIGFILE_ACTIVE", "config.cfg"), ... )
File name of configuration file to read from. Default is the value of the 'R_CONFIGFILE_ACTIVE' environment variable (Set to 'config.cfg' if the variable does not exist and JSON/INI/YAML/TOML format only)
Arguments for read.config
read.config
a character vector including the sections infomation of configure file or logical FALSE indicating that is not standard JSON/INI/YAML/TOML format file
eval.config.merge use this function to get all of sections of config file.
eval.config.merge
# NOT RUN { config.json <- system.file('extdata', 'config.json', package='configr') eval.config.sections(config.json) # }
Run the code above in your browser using DataLab