Learn R Programming

modules (version 0.9.8)

exhibit_namespace: Exhibit objects from an internal module namespace as an environment

Description

Exhibit objects from an internal module namespace as an environment

exhibit_module_namespace exports a namespace for a module.

exhibit_package_namespace exports a namespace for a package.

Usage

exhibit_namespace(objects, name, path, doc, parent)

exhibit_module_namespace(namespace, name, parent, export_list)

exhibit_package_namespace(namespace, name, parent, export_list)

Arguments

objects

named list of objects

name

the name of the resulting environment

path

the fully resolved path to the corresponding module or package

doc

the module documentation

parent

the parent environment of the resulting environment

namespace

the namespace to export object from

export_list

the list of objects to export; if NULL, export everything

Value

Returns the resulting environment.