remove_dir | R Documentation |
Delete directories and all of their contents.
remove_dir(...)
dir.remove(...)
... |
The names of the directories, specified via relative or absolute paths. |
Invisibly, a logical vector with TRUE
for each success and
FALSE
for failures.
## Not run:
sapply(c("mydir1", "mydir2"), dir.create)
remove_dir(c("mydir1", "mydir2"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.