Learn R Programming

GlobalOptions (version 0.1.2)

dump_opt: Print all fields of a single option

Description

Print all fields of a single option

Usage

dump_opt(opt, opt_name)

Arguments

opt

the option object returned by set_opt or setGlobalOptions.

opt_name

a single name of the option.

Details

Actually this function is identical to opt[opt_name].

Examples

Run this code
# NOT RUN {
opt = set_opt(a = 1, b = "b")
dump_opt(opt, "a")
dump_opt(opt, "b")
# }

Run the code above in your browser using DataLab