View source: R/buildNonSweaveVignette.R
parseVignette | 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.