[R] Remove
Emmanuel Paradis
paradis at isem.univ-montp2.fr
Wed Mar 7 15:58:42 CET 2001
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list