| hook_rgl {rgl} | R Documentation |
These functions allow rgl graphics to be embedded in knitr
documents, either as bitmaps (hook_rgl with format "png"),
fixed vector graphics (hook_rgl with format "eps" or
"postscript"), or interactive WebGL graphics (hook_webgl).
hook_rgl(before, options, envir)
hook_webgl(before, options, envir)
before, options, envir |
Standard knitr hook function arguments. |
A string to be embedded into the output, or NULL if called
when no output is available.
Originally by Yihui Xie in the knitr package; modified by Duncan Murdoch.
rgl.Sweave embeds fixed images in Sweave documents.