Learn R Programming

R.rsp (version 0.46.0)

compileRnw: Compiles a Rnw file

Description

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

Usage

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

Value

Returns the pathname of the generated document.

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 (NULL) is to infer the type from the content of the file using typeOfRnw().

verbose

See Verbose.

Author

Henrik Bengtsson