checkOptions | R Documentation |
For each name in x
checks the current option value and reports if there
is a difference in a message
. This does not change the options
checkOptions(x)
x |
A named list of new options |
Checks and reports on options
Invisible, a list of the current options from options()
op <- options()
x <- list(width = -20, warning.length = 2, probably_not_a_real_option = 2)
checkOptions(x)
# pointless, but shows that no messages are given
identical(options(), checkOptions(options()))
options(op)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.