Internal function to clean up directories.
A character string. Path to the folder, where plots are saved.
A character string. Path to the folder, where resulting tables are saved.
This function silently cleans up the current session and removes both, the 'plotdir'- and the 'csvdir'-folders. It furthermore resets the 'future'-backend to plan = "sequential".
plotdir <- paste0(tempdir(), "/plots/") csvdir <- paste0(tempdir(), "/csv/") clean_up(plotdir, csvdir)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.