R: Get option value by dollar symbol

$.GlobalOptionsFun {GlobalOptions} | R Documentation

## Get option value by dollar symbol

### Description

Get option value by dollar symbol

### Usage

    ## S3 method for class 'GlobalOptionsFun'
    x$nm

### Arguments

`x` | the function returned by `setGlobalOptions`
`nm` | a single option name

### Details

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

### Author(s)

Zuguang Gu <z.gu@dkfz.de>

### Examples

    opt = setGlobalOptions(a = 1)
    opt$a

[Package GlobalOptions version 0.0.12 Index]