Learn R Programming

R.rsp (version 0.8.2)

compileLaTeX: Compiles a LaTeX file

Description

Compiles a LaTeX file to either PDF or DVI.

Usage

## S3 method for class 'default':
compileLaTeX(filename, path=NULL, format=c("pdf", "dvi"), clean=FALSE, quiet=TRUE, ..., verbose=FALSE)

Arguments

filename, path
The filename and (optional) path of the LaTeX document to be compiled.
format
A character string specifying the output format.
clean, quiet
Additional arguments passed to texi2dvi.
...
Not used.
verbose
See Verbose.

Value

  • Returns (invisibly) the pathname of the generated (PDF or DVI) document.

See Also

Internally, texi2dvi is used. To compile Sweave LaTeX documents, compileSweave().