elementId2Prefix {rgl} | R Documentation |
Use widget with old-style controls
Description
The rglwidget
control is designed to work in the
htmlwidgets framework. Older RGL web pages that
used the deprecated writeWebGL
or knitr used a different
method of linking the controls to the scene. This is a partial
bridge between the two systems. You should adopt the new system, not use this function.
Usage
elementId2Prefix(elementId, prefix = elementId)
Arguments
elementId |
An element identifier from a |
prefix |
The prefix to use in the old-style control. |
Value
This function generates Javascript code, so it should be
used in an results = "asis"
block in a knitr document.
Author(s)
Duncan Murdoch
[Package rgl version 1.3.1 Index]