[R] delete content of directory - unlink doesn't work as expected

Hans-Peter gchappi at gmail.com
Tue Nov 28 15:52:19 CET 2006


2006/11/28, Gabor Grothendieck <ggrothendieck at gmail.com>:
>
> file.remove(file.path("myDir", list.files("myDir")))

Great, thanks a lot.

-- 
Regards,
Hans-Peter



More information about the R-help mailing list