dir.use <- function(path, recursive = FALSE, ...) {
if(!dir.exists(path))
dir.create(path, recursive = recursive, ...)
path
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.