Description Usage Arguments Note References See Also Examples
Get or set a single option
1 |
... |
quoted or unquoted name -OR- name = value expression used to set the option
Unlike |
Though it might be desirous to set options wih syntax like:
option(x) <- 5
this is not currently possible due to how the R works. This is discussed
at length at Stack Overflow:
http://stackoverflow.com/questions/15252537/why-are-arguments-to-replacement-functions-not-evaluated-lazily
1 2 3 4 5 6 7 8 9 10 | # option(xdx) <- 10 # does not work
set_option(foo="bar")
option(foo)
option(baz) # NULL, MISSING
option(NA) # NA, BY DEFINITION
# NOT IMPLEMENTED YET:
# option( foo=1 )
# option( foo$bar=1 ) # DEEP ASSIGNMENT
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.