Assign.GlobalOptionsFun: Set option value by dollar symbol

Description Usage Arguments Details Author(s) Examples

Description

Set option value by dollar symbol

Usage

1
2
## S3 replacement method for class 'GlobalOptionsFun'
x$nm <- value

Arguments

x

the object returned by set_opt or setGlobalOptions.

nm

a single option name.

value

the value which is assigned to the option.

Details

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

Note you cannot reconfigurate the option by assigning a configuration list.

Author(s)

Zuguang Gu <z.gu@dkfz.de>

Examples

1
2
3
opt = set_opt(a = 1)
opt$a = 2
opt$a

GlobalOptions documentation built on July 2, 2020, 2:35 a.m.