rglwidget control is designed to work in the
htmlwidgets framework. Older rgl web pages that
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.
elementId2Prefix(elementId, prefix = elementId)
An element identifier from a
The prefix to use in the old-style control.
used in an
results = "asis" block in a knitr document.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.