Learn R Programming

R.utils (version 2.6.0)

setOption.Options: Sets an option

Description

Sets an option in the options tree structure.

Usage

# S3 method for Options
setOption(this, pathname, value, overwrite=TRUE, ...)

Arguments

pathname

A single character string specifying the path to the option.

value

The value to be assigned to the option.

overwrite

If TRUE, already existing options are overwritten, otherwise not.

...

Not used.

Value

Returns (invisibly) the old option value.

See Also

*hasOption(). *setOption(). For more information see Options.