toggle | R Documentation |
Any options in the project local .Rprofile will populate this object as named methods. These named methods, when called, will toggle the options on or off. Alternatively, if an option is not logical, it can be changed using the set
argument. This loads at the start of an R session if startup has been called in the user-level .Rprofile. These methods are meant for interactive use only.
toggle\$your_logical_option_name()
toggle\$your_non_logical_option_name(set = "value")
opt |
|
set |
|
An object of class NULL
of length 0.
msg
to inform user of what the option is set to
Other options:
if_debug()
,
opts
,
write_opts()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.