Learn R Programming

R.rsp (version 0.20.0)

compileSweave: Compiles a Sweave file

Description

Compiles a Sweave file.

Usage

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

Arguments

filename, path
The filename and (optional) path of the Sweave document to be compiled.
...
Additional arguments passed to compileLaTeX().
outPath
The output and working directory.
postprocess
If TRUE, and a postprocessing method exists for the generated product, it is postprocessed as well.
verbose
See Verbose.

Value

  • Returns the pathname of the generated document.

See Also

Internally, Sweave is used.