add_dir | R Documentation |
Takes an input path (either the full path, including file extension, or just the folder path). Checks to see if the directory exists. If the directory does not exist, the function creates that directory. The function does nothing if the directory exits.
add_dir(path)
path |
(string) file path (or directory path) |
## Not run:
path <- "outputs/new_directory/stuff_for_today"
make_dir_if_needed(path)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.