parseVignette {R.rsp} | R Documentation |
Parses an Rnw file.
parseVignette(pathname, commentPrefix="^[ \t]*%[ \t]*", 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 |
source |
If |
maxLines |
The maximum number of lines to scan. |
... |
Not used. |
Returns a named list
or NULL if a non-vignette.
Henrik Bengtsson