View source: R/config_examples.R
config_examples | R Documentation |
Provides example configurations for several databases and a range of options
config_examples(filename = NA)
filename |
A string. If supplied, examples are written to a file with this name. |
Irrespective of whether a filename is supplied, yaml configuration examples will be returned invisibly as a single string and printed if the session is interactive.
A yaml string of database configuration examples, invisibly.
config_examples()
# write the examples to a temporary file called 'examples.yml'
config_examples(file.path(tempdir(), "examples.yml"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.