[ top | up ]
Remove Objects from a Specified Environment
Syntax
remove(names, envir=NULL, inherits=FALSE)
rm(names, envir=NULL, inherits=FALSE)
Description
remove
and rm
can be used to remove objects.
names
must be character vector.
All elements in it will be removed.
If envir
is NULL then the the currently active
environment is searched first.
If inherits
is TRUE
then parents of the supplied directory are searched until a
variable with the given name is encountered.
A warning is printed for each variable that is not found.
See Also
ls
,
objects
,