get_from_ns: Get an object from a namespace

View source: R/utils_environments_namespaces.R

get_from_nsR Documentation

Get an object from a namespace

Description

Get an object from a namespace

Usage

get_from_ns(nm = c("active", "state")[1], .env = .GlobalEnv)

Arguments

nm

chr name of object to retrieve. Current are active & state.

.env

env from which to retrieve the object

  • active tracks app details for internal use

  • state tracks user-specified variables to be saved/exported

Value

obj

See Also

Other namespaces: assign_global(), assign_in_ns(), get_global(), pkg_ns(), unload_namespaces()


yogat3ch/UU documentation built on May 31, 2024, 10:14 p.m.