Skip to contents

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.

Usage

toggle\$your_logical_option_name()

toggle\$your_non_logical_option_name(set = "value")

Format

An object of class NULL of length 0.

Arguments

opt

chr option name to toggle. Dynamically populated

set

obj value to set the option to (takes precedence over toggle)

Value

msg to inform user of what the option is set to

See also

Other options: if_debug(), opts, write_opts()