Description Usage Arguments Examples
setwdDate creates a folder with the current day's date (YYYYMMDD) in a given directory, and then sets the working directory to that folder.
1 | setwdDate(path)
|
path |
A path to the directory in which the newly created folder will be appended to. |
1 2 3 4 | #setwdDate("C:/MyFakePath/Output/")
##Would create a folder:
#paste0("C:/MyFakePath/Output/", format(Sys.Date(), "%Y%m%d"))
##And would set the working directory to that folder
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.