dir.project.exists | R Documentation |
Returns whether or not the folder exists, and optionally creates the path (recursively) if missing
dir.project.exists(names, create = F)
names |
character vector of folder names in a branch |
create |
logical create folders if missing? |
logical - does the folder exist
## Not run:
dir.project.exists("data")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.