An Implementation of Parsing and Writing Configuration File (JSON/INI/YAML)


[Up] [Top]

Documentation for package ‘configr’ version 0.0.3

Help Pages

configr-package configr package implements the YAML parser, JSON parser and INI parser for R setting and writing of configuration file.
config.list.merge Merge list file (From config package), list.right will overwrite the element also existed in list.left
configr configr package implements the YAML parser, JSON parser and INI parser for R setting and writing of configuration file.
eval.config Read from the currently active configuration (JSON/INI/YAML be supported), 'retreiving either a single named value or all values as a config obj which have 'config', 'configtype', 'file' 'property.
eval.config.groups Get config file parameter groups
eval.config.merge Merge config parameter sets by groups.
get.config.type Get config file type retreiving json/ini/yaml or FALSE
is.ini.file Function to check wheather file is ini format
is.json.file Function to check wheather file is json format
is.yaml.file Function to check wheather file is YAML format
read.config Read from the file (JSON/INI/YAML be supported), retreiving all values as a list.
write.config Write config in a file (JSON/YAML/INI)