typeOfRnw {R.rsp} | R Documentation |
Checks whether an Rnw file is a Sweave or a knitr file.
## Default S3 method: typeOfRnw(filename, path=NULL, default="application/x-sweave", ...)
filename, path |
The filename and (optional) path of the Rnw file. |
default |
A |
... |
Not used. |
Returns a character
string.
Henrik Bengtsson
TBA.