Learn R Programming

GlobalOptions (version 0.1.2)

[.GlobalOptionsFun: Get a single GlobalOption object

Description

Get a single GlobalOption object

Usage

# S3 method for GlobalOptionsFun
[(x, nm)

Arguments

x

the option object returned by set_opt or setGlobalOptions.

nm

a single name of the option.

Details

This function is only used internally.

Examples

Run this code
# NOT RUN {
opt = set_opt(a = 1, b = "b")
opt["a"]
opt["b"]
# }

Run the code above in your browser using DataLab