Learn R Programming

R.utils (version 2.9.0)

hasOption.Options: Checks if an option exists

Description

Checks if an option exists.

Usage

# S3 method for Options
hasOption(this, pathname, ...)

Arguments

pathname

A single or a vector of character strings specifying the paths to the options to be queried.

...

Not used.

Value

Returns a logical (vector).

See Also

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