get_namespace_names: Return the names that can be used to load all the namespace...

Description Usage Value

View source: R/functions.r

Description

This function returns the names of all the namespace environments of the packages found in the search() path.

Usage

1

Value

Array containing the names of the namespace environments as values and the package names as names (in the form of e.g. "package:base"). The names of the namespace environments are the result of splitting the name in the search list by ":" and taking the second part of the string (e.g. "base" from "package:base" or "rstudio" from "tools:rstudio"). The idea is that this name gives the namespace enviroment when used as asNamespace(<name>) or getNamespace(<name>), as in e.g. asNamespace("base").


envnames documentation built on Dec. 8, 2020, 9:07 a.m.