Description Usage Arguments Examples
View source: R/MGDrivE-Auxiliary.R
Given a directory path, check that it exists, and if so, delete all its contents.
1 | eraseDirectory(directory, verbose = TRUE)
|
directory |
Directory whose contents will be deleted |
verbose |
Chatty? Default is TRUE |
1 2 3 4 5 6 7 8 9 | ## 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.