clear: Remove all objects from an environment

Description Usage Arguments Examples

Description

This function removes all objects from the global environment (default) or from a specified environment. Returns the result of the garbage collection, if triggered, invisibly.

Usage

1
clear(env = ".GlobalEnv", garbageCollection = T)

Arguments

env

The environment from which all objects are to be removed

garbageCollection

If TRUE, garbage collection via gc() is performed after clearing the environment

Examples

1

Thie1e/convenience documentation built on May 9, 2019, 4:40 p.m.