cleanTex: Remove Unwanted LaTeX files after building document
Description
Convenience function for cleaning up your directory after running pdflatexUsage
cleanTex(fn, keepPDF = TRUE, keepRnw = TRUE, keepRproj = TRUE)
Arguments
fn
a filename for your .Rnw file
keepPDF
Logical. Should function save PDF files with filename fn.
Default is TRUE.
keepRnw
Logical. Should function save Rnw files with filename fn.
Default is TRUE.
keepRproj
Logical. Should function save .Rproj files with filename fn.
Default is TRUE.
Value
- Nothing. All files except the .tex, .pdf and .Rnw are removed from your directory.