Message-ID: <Pine.SOL.3.91.1010307082212.10635B-100000@godzilla1.acpub.duke.edu>
Date: 2001-03-07T13:27:52Z
From: Rashid Nassar
Subject: Remove
In-Reply-To: <3AA62729.EBD2DA27@valigen.net>
On Wed, 7 Mar 2001, Stephanie Langevin wrote:
> Date: Wed, 07 Mar 2001 12:18:49 +0000
> From: Stephanie Langevin <langevin at valigen.net>
> To: r-help at stat.math.ethz.ch
> Subject: [R] Remove
>
> Hello,
>
> I would like to remove some files which have the extension .test for
> example (data1.test, data2.test ....).
> Is there another solution to remove them instead of doing it one by one
> ?
>
> Thanks for your help,
> Stéphanie Langevin
I would do:
ls(pat = "[.]test$") # to first list the objects to be removed to make
# sure they don't include something you don't want
# to remove, then
rm(list = ls(pat = "[.]test$"))
Rashid Nassar
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._