check_directory | R Documentation |
Checks if the desired directory exists. If not, the desired directory is created.
check_directory(dir_name, recursive = TRUE, no_warning = FALSE)
dir_name |
Path to the desired directory, as a string. |
recursive |
Should elements of the path other than the last be created?
If |
no_warning |
Whether to cancel the warning issued if a directory is created (bool). |
No return value.
check_directory("./some_folder/my_new_folder")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.