Learn R Programming

modules (version 0.9.8)

export_operators: Copy a module<U+2019>s operators into a separate environment

Description

This function is used to create an attachable environment containing only the module<U+2019>s operators, as these would otherwise not be readily usable.

Usage

export_operators(environment, parent, module_name)

Arguments

environment

the module environment

parent

the parent environment of the calling code, to determine how to chain the environments properly

module_name

the name of the module

Value

A new environment containing the operators of the module.