dir_create2 | R Documentation |
Force creating directory with checks
dir_create2(x, showWarnings = FALSE, recursive = TRUE, check = TRUE, ...)
x |
path to create |
showWarnings, recursive, ... |
passed to |
check |
whether to check the directory after creation |
Normalized path
path <- file.path(tempfile(), 'a', 'b', 'c')
# The following are equivalent
dir.create(path, showWarnings = FALSE, recursive = TRUE)
dir_create2(path)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.