checkdir | R Documentation |
Checks if the given path exists, if not it creates it.
checkdir(path, recursive = TRUE, verbose = FALSE, ...)
path |
a character vector containing a single path name. |
recursive |
a logical. Should elements of the path other than the last be created? |
verbose |
a logical. If |
... |
additional options for dir.create. |
returns TRUE if a new folder is created, FALSE if not
Jakob Gepp
Internaly the function dir.create is called.
## Not run:
checkdir("testfolder/subfolder")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.