Learn R Programming

PBSmodelling (version 2.67.266)

clearAll: Remove all R Objects From a Specified Environment

Description

Generic function to clear all objects from .RData in R

Usage

clearAll(hidden=TRUE, verbose=TRUE, PBSsave=TRUE, pos=".PBSmodEnv")

Arguments

hidden
if TRUE, remove variables that start with a dot(.).
verbose
if TRUE, report all removed items.
PBSsave
if TRUE, do not remove .PBSmod.
pos
The pos argument can specify the environment in which to look for the object in any of several ways: as an integer (the position in the search list); as the character string name of an element in the search list; or as an environment (including using sys.frame to access the currently active function calls).