Description Usage Arguments Author(s) References See Also Examples
Convenience function to initialize a package options environment below an option container.
1 | initializeProjectOptions(id = "options", where, ...)
|
id |
Signature argument. Object containing ID information. |
where |
Signature argument. Object containing location information. |
... |
Further arguments to be passed to subsequent functions/methods. |
Janko Thyson janko.thyson@gmail.com
http://github.com/Rappster/optionr
initializeProjectOptions-char-env-method,
setProjectOptions,
getProjectOptions,
rmProjectOptions
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
## Default `id` //
container <- ensureOptionContainer(overwrite = TRUE)
initializeProjectOptions(where = container)
exists("options", container)
## Different `id` //
container <- ensureOptionContainer(overwrite = TRUE)
initializeProjectOptions(id = "OPTIONS", where = container)
exists("OPTIONS", container)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.