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 = "", ...)
Sweave
NULL
or an object of class SweaveSyntax
or a character string with its name. See the section Syntax Definition
in Sweave
file
\VignetteEngine
option in vignette introduced in R 3.0.0highlight
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.