View source: R/MGDrivE-Auxiliary.R
eraseDirectory | R Documentation |
Given a directory path, check that it exists, and if so, delete all its contents.
eraseDirectory(directory, verbose = TRUE)
directory |
Directory whose contents will be deleted |
verbose |
Chatty? Default is TRUE |
## Not run:
# Path to directory, can tilde expand
myPath <- "~/path/to/write/output"
# Erase directory
# No return value
eraseDirectory(directory = myPath)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.