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 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

Returns a character string.

See Also

TBA.

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

Community examples

Looks like there are no examples yet.