R.rsp (version 0.9.24)

compileRnw: Compiles a Rnw file

Description

Compiles a Rnw file. The compiler used depends on the content type.

Usage

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

Arguments

filename, path
The filename and (optional) path of the document to be compiled.
...
Additional arguments passed to the compiler function used.
type
A character string specifying what content type of Rnw file to compile. The default type is inferred from the content of the file using typeOfRnw
verbose
See Verbose.

Value

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