Skip to content
Prev 10776 / 12125 Next

[R-pkg-devel] Options "reset" when options(opts)

On Thu, 11 Jul 2024, David Hugh-Jones wrote:

            
Arguably, it would be nice to have a parameter like "reset", so 
that one can call

options(oo, reset=TRUE)

and any options not explicitly passed by oo are set to NULL.

This way there are two modes of operation - bulk setting of subset of 
options with reset=FALSE, and restoring full options set with reset=TRUE.

best

Vladimir Dergachev