Description Usage Arguments Details Value Author(s) Examples
View source: R/createDirectories.r
This function creates directories for holding data for the current scenario. These directories will hold the replicate data, the micro evaluation data and the macro evaluation data.
1 2 3 4 | createDirectories(dirNames = c("ReplicateData", "MicroEvaluation", "MacroEvaluation"),
workingPath = getwd(),
warn = FALSE,
method = getEctdDataMethod())
|
dirNames |
(Optional) A vector of directories to create under the "workingPath" directory. By default, directories "ReplicateData", "MicroEvaluation" and "MacroEvaluation" are created |
workingPath |
(Optional) The working directory in which to create directories. The current working directory is used by default |
warn |
(Optional) A logical value. Should warnings from the directory creation be shown? FALSE by default |
method |
Data storage method (given by getEctdDataMethod by default) |
Attempts to create directories named in character vector "dirNames" within the "workingPath" directory. No action is taken if method is "Internal"
A logical vector the same length as "dirNames", indicating whether or not the corresponding directories were successfully created.
Mike K Smith mstoolkit@googlemail.com
1 2 3 4 5 | ## Not run:
# Create 2 of the 3 directories
createDirectories(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.