options.ifunset {optifunset} | R Documentation |
Set Options if Unset
Description
This function will set an option if it isn't already present within the global options
returned by the options()
function
Usage
options.ifunset(..., force = FALSE)
Arguments
... |
any options can be defined, using Options can also be passed by giving a single unnamed argument which is a named list. |
force |
Force the Option to Be Set |
Examples
options.ifunset(width=10) #IGNORED, ALREADY EXISTS
options.ifunset(width=10,force=TRUE) #FORCED UPDATE TO OPTION
options.ifunset(myoption=TRUE) #New Option is Created
[Package optifunset version 1.0 Index]