KH.get: Get module configurations.

Description Usage Arguments Details Value See Also Examples

View source: R/Config.R

Description

Get module configurations.

Usage

1
KH.get(variable, default = NULL)

Arguments

variable

String. Name of the variable to search for.

default

Mixed. Default value if the object is not present, defaults to NULL.

Details

Critical package-wide variables are saved in a module environment. This function reads a given variable from this environment only. It stops if a foreign key is requested.

Value

Mixed. Based on the requested variable.

See Also

Other Config: Configuration, KH.set

Examples

1
2
3
4
5
6
KH.get('defaultFont')
#[1] "Nazli"

KH.set('defaultFont', 'B Nazanin')
KH.get('defaultFont')
# "B Nazanin"

ks465/r-utils documentation built on May 23, 2019, 5:07 p.m.