R.rsp (version 0.6.11)

compileSweave: Compiles a Sweave file

Description

Compiles a Sweave file. If Sweave generates a LaTeX file, that is then compiled as well, which in turn generates either a PDF or a DVI document.

Usage

## S3 method for class 'default':
compileSweave(filename, path=NULL, ..., verbose=FALSE)

Arguments

filename, path
The filename and (optional) path of the Sweave document to be compiled.
...
Additional arguments passed to compileLaTeX().
verbose
See Verbose.

Value

  • Returns (invisibly) the pathname of the generated document.

See Also

Internally, Sweave and compileLaTeX() are used.