Skip to content
Prev 78713 / 398498 Next

wildcards and removing variables

On Mon, 2005-10-10 at 10:37 -0400, Afshartous, David wrote:
See ?ls, which has a 'pattern' argument, enabling the use of Regex to
define the objects to be listed and subsequently removed using rm().

You can then use something like:

  rm(list = ls(pattern = "\\bresults."))

HTH,

Marc Schwartz