purge.dir | R Documentation |
Purge a directory. All files and subdirectories will be deleted.
purge.dir(x)
x |
character string. Path of the dir to purge. |
Simon Frey
unlink
file.remove
#### Not run ####
purge.dir(x="C:/TEMP")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.