R: Set option value by dollar symbol

$<-.GlobalOptionsFun {GlobalOptions} | R Documentation

## Set option value by dollar symbol

### Description

Set option value by dollar symbol

### Usage

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

### Arguments

`x` | the function returned by `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)`

### Author(s)

Zuguang Gu <z.gu@dkfz.de>

### Examples

    opt = setGlobalOptions(a = 1)
    opt$a = 2
    opt$a

[Package GlobalOptions version 0.0.12 Index]