Hweave | R Documentation |
Hweave
and Htangle
are similar to Sweave
and Stangle
, but they take advantage of the
custom driver shipped with this package
Hweave( file, driver = HighlightWeaveLatex(), syntax = HweaveSyntaxNoweb, encoding = "", ... ) Htangle( file, driver = HighlightTangle(), syntax = HweaveSyntaxNoweb, encoding = "", ... )
file |
Path to Sweave source file |
driver |
The actual workhorse, see the Details section in |
syntax |
|
encoding |
The default encoding to assume for |
... |
Further arguments passed to the driver's setup function. |
These functions exist for the purpose of the
\VignetteEngine
option in vignette introduced in R 3.0.0
highlight
loads the highlight
vignette engine
at load time. Client packages must declare to use it
with the VignetteBuilder
field in their DESCRIPTION
file
The vignette engine looks for files matching the
pattern "[.][hHrRsS]nw$"
although in order to distinguish
vignettes using this engine and the default
Sweave engine, the recommandation is to use vignette with the ".Hnw"
extension.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.