rm_grep: Remove objects matching a regex pattern from global...

Description Usage Arguments

View source: R/rm_grep.R

Description

Identify and remove all objects in the global environment that match a specified regex pattern. By default, the user is prompted with a list of the objects before they are removed.

Usage

1
rm_grep(rm_pattern, ask=TRUE, ...)

Arguments

rm_pattern

character string, the regex pattern to match. Passed to grep.

ask

logical, whether to prompt the user before removing objects. Defaults to TRUE.

...

optional arguments passed to grep.


mjdufort/miscHelpers documentation built on Nov. 18, 2018, 9:20 p.m.