typeOfRnw

0th

Percentile

Checks whether an Rnw file is a Sweave or a knitr file

Checks whether an Rnw file is a Sweave or a knitr file.

Keywords
internal, file, IO
Usage
## S3 method for class 'default':
typeOfRnw(filename, path=NULL, default="application/x-sweave", ...)
Arguments
filename, path
The filename and (optional) path of the Rnw file.
default
A character string specifying the default result.
...
Not used.
Value

See Also

TBA.

Aliases
  • typeOfRnw.default
  • typeOfRnw
Documentation reproduced from package R.rsp, version 0.9.17, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.