Description Usage Arguments Details Value Author(s) Examples
View source: R/removeDirectories.r
This function removes directories containing data for the current scenario.
1 2 3 | removeDirectories(dirNames = c("ReplicateData", "MicroEvaluation", "MacroEvaluation"),
workingPath = getwd(),
method = getEctdDataMethod())
|
dirNames |
(Optional) A vector of directories to remove from the "workingPath" directory. Default is to remove "ReplicateData", "MicroEvaluation" and "MacroEvaluation" directories |
workingPath |
(Optional) The working directory from which to remove the directories. By default, directories are removed from the current working directory |
method |
Data storage method (given by getEctdDataMethod by default) |
dirNames must be a character vector. The function will attempt to remove each of the directories identified in the dirNames vector from within the "workingPath" directory If method is "Internal", the DataStore is emptied and no directories are modified
A logical vector the same length as the dirNames, indicating whether or not the corresponding directories were successfully removed
Mike K Smith mstoolkit@googlemail.com
1 2 3 4 5 | ## Not run:
createDirectories(dirNames = c("ReplicateData", "MicroEvaluation"))
removeDirectories(dirNames = c("ReplicateData", "MicroEvaluation"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.