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

# S3 method for default
compileRnw(filename, path=NULL, ..., type=NULL, 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 (NULL) is to infer the type from the content of the file using typeOfRnw().

verbose

See Verbose.

Value

Returns the pathname of the generated document.

Author

Henrik Bengtsson