View source: R/internal_functions.R
make_dirs | R Documentation |
Whereas base::file.path()
only concatenates strings to build a path, make_dirs()
also makes sure those folders exist.
make_dirs(...)
... |
(Character) Arguments to send to |
(Character) A file path. Automatically adds trailing slashes if required.
Desi Quintans (http://www.desiquintans.com)
Desiderata package (https://github.com/DesiQuintans/desiderata)
## Not run:
make_dirs(tempdir(), "newfolder")
#> [1] "C:/Users/.../Temp/RtmpSwZA8X/newfolder"
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.