typeOfRnw.RdChecks whether an Rnw file is a Sweave or a knitr file.
# S3 method for default
typeOfRnw(filename, path=NULL, default="application/x-sweave", ...)The filename and (optional) path of the Rnw file.
A character string specifying the default result.
Not used.
Returns a character string.
TBA.