Learn R Programming

GlobalOptions (version 0.1.3)

$.GlobalOptionsFun: Get option value by dollar symbol

Description

Get option value by dollar symbol

Usage

# S3 method for GlobalOptionsFun
$(x, nm)

Arguments

x

the object returned by set_opt or setGlobalOptions.

nm

a single option name.

Author

Zuguang Gu <z.gu@dkfz.de>

Details

opt$a is same as opt("a").

Examples

Run this code
opt = set_opt(a = 1)
opt$a

Run the code above in your browser using DataLab