getOption: getOption

Description Usage Arguments Value Examples

Description

Allow the user to examine a variety of global options which affect the way in which R computes and displays its results. An option of the form 'mmstat.col.population' can be examined by the short form 'mcp' if unique.

Usage

1
getOption(x, default = NULL)

Arguments

x

a character string holding an option name.

default

if the specified option is not set in the options list, this value is returned. This facilitates retrieving an option and checking whether it is set and setting it separately if not.

Value

The current value set for option x, or NULL if the option is unset.

Examples

1
2
getOption('mmstat.col.population')
getOption('mcp')

sigbertklinke/shinyExample documentation built on May 26, 2019, 4:32 a.m.