typeOfRnw {R.rsp} | R Documentation |
Checks whether an Rnw file is a Sweave or a knitr file
Description
Checks whether an Rnw file is a Sweave or a knitr file.
Usage
## Default S3 method:
typeOfRnw(filename, path=NULL, default="application/x-sweave", ...)
Arguments
filename , path |
The filename and (optional) path of the Rnw file. |
default |
A |
... |
Not used. |
Value
Returns a character
string.
Author(s)
Henrik Bengtsson
See Also
TBA.
[Package R.rsp version 0.45.0 Index]