Description Usage Arguments Value Examples
Creates multiple directories at once by running
dir.create
over multiple
paths
through mapply
.
1 | dirs.create(paths, showWarnings = TRUE, recursive = FALSE, mode = "0777")
|
paths |
|
showWarnings |
|
recursive |
|
mode |
The mode to be used on Unix-alikes: it will be coerced by
|
logical
vector of results of dir.create
on each of the paths
(which name the vector).
See dir.create
.
1 2 3 4 5 6 7 8 | ## Not run:
paths <- normalized_file_path(".", c("folder1", "folder2"),
mustWork = FALSE)
dirs.create(paths)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.