Remove all files and possibly also directories that were generated as ouput from a previous compilation of a document in directory ps_docu_path. All files that match the pattern specified by pvec_pattern are selected for deletion. The user is asked whether the files should be deleted before actually deleting them. By default, directories are ignored, even if they match the given pattern. In case directories are to be included the argument pb_ignore_dir must be set to FALSE.
1 2 3 | cleanup_output(ps_docu_path = "vignettes", pvec_docu_root = NULL,
pvec_pattern = c("pdf$", "png$"), pb_ignore_dir = TRUE,
pb_interactive = TRUE)
|
ps_docu_path |
Name of the document path |
pvec_docu_root |
Vector of prefixes matching document output files |
pvec_pattern |
Pattern to match by files to be deleted |
pb_ignore_dir |
Flag indicating whether directories should be ignored |
pb_interactive |
Should user be asked whether to delete files |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.