[R] Delete files from R

"Unternährer Thomas, uth" uth at zhwin.ch
Tue May 13 12:12:24 CEST 2003


Hi,

I have a file: d:\foo.txt and want to delete this.

I tried: 
system("del d:/foo.txt") works not
system("notepad d:/foo.txt") works

Is it possible that I can't delete files or do I have misunderstood something?

(del is a DOS-command. The "string works" under DOS "\")


Thanks a lot

Thomas


-----
Windows XP
R 1.6.2 (update!, I know)




More information about the R-help mailing list