load_params_to_env: Load parameters to current environment

Description Usage Arguments Value Examples

View source: R/tgconfig.R

Description

Load paramters as variables to the current environment (or any other environment envir)

Usage

1
load_params_to_env(params, package = NULL, envir = parent.frame())

Arguments

params

parameters to load

package

package

envir

environment to load to

Value

invisibly returns the changed environment

Examples

1
2
3
4
5
register_params(example_config_file(), 'tgconfig')
get_package_params('tgconfig')
load_params_to_env(c('expr_param', 'boolean_param'), 'tgconfig')
expr_param
boolean_param

tanaylab/tgconfig documentation built on Nov. 5, 2019, 9:59 a.m.