Description Usage Arguments Details Examples
Enables project specific configuation to be added to the global config object. The
allowable format is key value pairs which are appended to the end of the config
object, which is accessible from the global environment.
1 |
... |
A series of key-value pairs containing the configuration. The key is the name that gets added to the config object. |
Once defined, the value can be accessed from any ProjectTemplate
script by
referencing config$my_project_var
.
1 2 3 4 5 6 7 8 9 10 | library('ProjectTemplate')
## Not run:
add.config(
keep_bigdata=TRUE, # Whether to keep the big data file in memory
parse=7 # number of fields to parse
)
if (config$keep_bigdata) ...
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.