R.rsp (version 0.9.28)

parseVignette: Parses an Rnw file

Description

Parses an Rnw file.

Usage

parseVignette(pathname, commentPrefix="^[ ]*%[ ]*", final=FALSE, source=FALSE,
  maxLines=-1L, ...)

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

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

[object Object]

file IO internal

Arguments