brew | R Documentation |
This is a forked/patched version of 'brew' package made by Jeffrey Horner (c) 2007. See: References
about the original version.
brew(text = NULL, envir = parent.frame())
text |
character vector |
envir |
environment |
This custom function can do more and also less compared to the original brew
package. First of all the internal caching mechanism (and other, from pander
package POV needless features) of 'brew' is removed for some extra profits:
multiple R expressions can be passed between <%= ... %>
tags,
the text of the file and also the evaluated R objects are (invisibly) returned in a structured list, which can be really useful while post-processing the results of 'brew'.
brew
ed document to stdout
and raw results while evaluating the text
in a structured list.
This function should be never called directly (use brew::brew
instead) as being a helper function of Pandoc.brew
.
Jeffrey Horner (2011). _brew: Templating Framework for Report Generation._ https://cran.r-project.org/package=brew
Pandoc.brew
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.