A Reference Class for configurations
filename
the name of the configuration file
comment
the comment character
container
a named list of the configuration sections
get(section, name, default = NULL)
Retrieve the specified item in the sectioned named or NULL of not found
parse_line(s)
Given one or more raw text lines, parse the key=value pairs into the expected named character vector
read_file(filename = .self$filename)
read the specified configuration file
set(section, name, value)
Set the value of the specified item in the sectioned named
write_file(filename = .self$filename, append = FALSE)
write the specified configuration file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.