Skip to content
Back to formatted view

Raw Message

Message-ID: <3.0.32.20010307155842.008e7640@162.38.183.200>
Date: 2001-03-07T14:58:42Z
From: Emmanuel Paradis
Subject: Remove

At 13:49 07/03/01 +0100, Alvaro Colina Santamaria wrote:
>Stephanie Langevin wrote:
>
>> 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
>>
>>
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
-.-
>> 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
>>
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
_._
>
>You can use:
>
>rm(list=objects(pattern=".test"))

I understood that St?phanie wanted to remove files on her system, not R
objects from R's workspace. Thus I suggested:

	system("rm *.test")

(assuming a Unix/Linux OS)


Emmanuel Paradis

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._