Description Usage Arguments Value Examples
Set up a directory structure for a standard data analyis project.
1 2 | setup_dirs(path, structure = c("Data", "Data_Processed", "Functions",
"Graphs", "Reports"), recursive = TRUE)
|
path |
The path is the main path where the directory structure will be created. |
structure |
a character vector with the relative paths that have to be created. |
recursive |
logical. Should elements of any path other than the
last be created? See also |
a logical vector (invisibly) indicating whether the creation of the directory worked.
1 2 3 4 | ## Not run:
setup_dirs(getwd(), c("Data/raw","Data/processed","Output"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.