Set Options if Unset

A single function 'options.ifunset(...)' is contained herewith, which allows the user to set a global option ONLY if it is not already set. By this token, for package maintainers this function can be used in preference to the standard 'options(...)' function, making provision for THEIR end user to place 'options(...)' directives within their '.Rprofile' file, which will not be overridden at the point when a package is loaded.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("optifunset")

1.0 by Nicholas Hamilton, 11 years ago


Browse source code at https://github.com/cran/optifunset


Authors: Nicholas Hamilton


Documentation:   PDF Manual  


GPL-2 license



See at CRAN