Convenience function for cleaning up your directory after running pdflatex
cleanTex(fn, keepPDF = TRUE, keepRnw = TRUE, keepRproj = TRUE)
Nothing. All files except the .tex, .pdf and .Rnw are removed from your directory.
a filename for your .Rnw file
Logical. Should function save PDF files with filename fn
.
Default is TRUE.
Logical. Should function save Rnw files with filename fn
.
Default is TRUE.
Logical. Should function save .Rproj files with filename fn
.
Default is TRUE.