ConfiguratorRefClass-class | R Documentation |
A class for configuration elements
filename
the fully qualified name of the configuration file
container
a list of configuration elements - one element per named [section]
comments
a list of configuration comments by [section] plus a [.header]
sep
the default key-value pair separator ("=") for writing
comm
the default comment character ("#") flagging comment lines
get(section, name, default = NULL)
Retrieve the specified item in the sectioned named or NULL of not found
parse_section(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.