rm_envir: A function to remove all attached objects from the search...

View source: R/rm_envir.R

rm_envirR Documentation

A function to remove all attached objects from the search path with any exceptions specified

Description

A function to remove all attached objects from the search path with any exceptions specified

Usage

rm_envir(
  ignore = c(".GlobalEnv", "package:", "tools:", "Autoloads"),
  verbose = options()$verbose,
  perl = FALSE
)

Arguments

ignore

a character vector of regular expression search terms within the output from search() as to which should be retained.

verbose

logical to print information on changes to the global environment or external files. Defaults to options()$verbose.

perl

logical. Should Perl-compatible regexps be used?

Details

it detaches anything not ignored. It is called by default wihin attach_pop .

See Also

search attach_pop


shug0131/cctu documentation built on Aug. 21, 2024, 4:08 a.m.