"compileLaTeX"(filename, path=NULL, format=c("pdf", "dvi"), clean=FALSE, quiet=TRUE, texinputs=NULL, ..., outPath=".", verbose=FALSE)character string specifying the output format.texi2dvi.Verbose.texi2dvi is used, which in turn uses
Sys.which("texi2dvi") if available. Most known implementation
of the latter will only recognize LaTeX documents with filename
extensions *.tex and *.ltx (case sensitive). (Any other filenames
will be compiled with 'texinfo', which is not a LaTeX compiler.)texi2dvi is used.
To compile Sweave LaTeX documents, compileSweave().