Description Usage Arguments Methods (by class) See Also Examples
Apply configuration to current R session.
1 2 3 4 5 6 7 8 9 10 | set_config(cfg)
## Default S3 method:
set_config(cfg)
## S3 method for class 'cfg_env'
set_config(cfg)
## S3 method for class 'cfg_saved'
set_config(cfg)
|
cfg |
Configuration object. |
default
: Apply configuration using runtime values.
cfg_env
: Apply configuration using environment variables.
cfg_saved
: Apply configuration using file-based configuration.
1 2 3 | data.world::set_config(data.world::cfg_saved())
data.world::set_config(data.world::cfg_env())
data.world::set_config(data.world::cfg("YOUR_TOKEN"))
|
Warning message:
In normalizePath("~", winslash = "/") :
path[1]="/home/anon": No such file or directory
NULL
Warning message:
In set_config.cfg_saved(data.world::cfg_saved()) :
Configuration file not found at /home/anon/.dw/config
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.