View source: R/cleanup-latex.R
| cleanup_latex_files | R Documentation | 
This function removes LaTeX files that are typically created by the exportLatex() function. It's designed to be used after exportLatex() calls to clean up temporary files.
cleanup_latex_files(dir = ".", outname = "", verbose = FALSE)
dir | 
 Directory where LaTeX files are located (default: current directory)  | 
outname | 
 Prefix for the LaTeX files (default: empty string)  | 
verbose | 
 If TRUE, print messages about which files were removed  | 
Invisibly returns a logical vector indicating which files were successfully removed
## Not run: 
# After calling exportLatex()
exportLatex(vim)
cleanup_latex_files()
# With custom directory and prefix
exportLatex(vim, outname = "myresults_", dir = "output/")
cleanup_latex_files(dir = "output/", outname = "myresults_")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.