| $<-.GlobalOptionsFun {GlobalOptions} | R Documentation |
Set option value by dollar symbol
## S3 replacement method for class 'GlobalOptionsFun' x$nm <- value
x |
the function returned by |
nm |
a single option name |
value |
the value which is assigned to the option |
opt$a = 1 is same as opt("a" = 1)
Zuguang Gu <z.gu@dkfz.de>
opt = setGlobalOptions(a = 1) opt$a = 2 opt$a