clean_up_matching_environments: Clean up the list of environments matching a memory address...

Description Usage Arguments Details Value

View source: R/functions.r

Description

Clean up the list of environments matching a memory address in an environment map.

Usage

1

Arguments

envmap

data frame with the name-address pairs of environments having at least a column called "type" that specifies the type of environment, for which "function" is used to indicate a function execution environment.

indfound

array containing the indices in envmap giving the environments to clean up (typically these are the environments that match a given memory address).

Details

A clean list of matched environments from envmap should either:

If none of the above is the case, all function execution environments are removed from the list of matching environments, i.e. removed from the indfound array.

Value

an array containing the indices in indfound after cleanup.


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