[R] deleting a file

Jeff Gentry jgentry at jimmy.harvard.edu
Tue Nov 16 16:48:53 CET 2004


> In Linux I would issue the command
> system('rm paste(path,'filename',sep='')')
> and this works just fine.  It does not however work for windows, and I have
> no idea whether it would work on a mac.
> Is there a single command thay escapes me?

Yes.

help("file.remove")




More information about the R-help mailing list