Toggle or change an option listed in a local .Rprofile for the session
toggle.Rd
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.
Arguments
- opt
chr
option name to toggle. Dynamically populated- set
obj
value to set the option to (takes precedence over toggle)
See also
Other options:
if_debug()
,
opts
,
write_opts()