parseVignette

0th

Percentile

Parses an Rnw file

Parses an Rnw file.

Keywords
internal, file, IO
Usage
parseVignette(pathname, commentPrefix="^[ \t]*%[ \t]*", final=FALSE, source=FALSE,
  maxLines=-1L, ...)
Arguments
pathname

The Rnw file to be parsed.

commentPrefix

A regular expression specifying the prefix pattern of vignette comments.

final

If TRUE, the output PDF or HTML file is also located.

source

If TRUE, the output R source code file is also located.

maxLines

The maximum number of lines to scan.

...

Not used.

Value

Returns a named list or NULL if a non-vignette.

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

Community examples

Looks like there are no examples yet.