powered by
"Config"
You can subset Config by identifier or by position using the `[`, `[[` or `$` operator. The string will be expanded if it's a path.
`[`
`[[`
`$`
# S4 method for Config [(x, i)# S4 method for Config [[(x, i)# S4 method for Config $(x, name)
# S4 method for Config [[(x, i)
# S4 method for Config $(x, name)
An element held in "Config" object
a "Config" object.
position of the identifier or the name of the identifier itself.
name of the element to access.
projectConfig = system.file("extdata", "example_peps-master", "example_amendments1", "project_config.yaml", package="pepr") c=Config(projectConfig) c[[2]] c[2] c[["sample_table"]] c$sample_table
Run the code above in your browser using DataLab