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