Learn R Programming

configr (version 0.3.5)

config.sections.del: Delete sections in config, just do config[sections] <- NULL

Description

Delete sections in config, just do config[sections] <- NULL

Usage

config.sections.del(config, sections)

Arguments

config

a list of config (eg. generated by read.config)

sections

Sections that need to be deleted

Value

A list of config

Examples

Run this code
# NOT RUN {
config.json <- system.file('extdata', 'config.json', package = 'configr')
config <- read.config(config.json, file.type = 'json')
config <- config.sections.del(config, 'default')
# }

Run the code above in your browser using DataLab