Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

elementId2Prefix

Use widget with old-style controls


Description

The rglwidget control is designed to work in the htmlwidgets framework. Older RGL web pages that used 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 rglwidget call.

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


rgl

3D Visualization Using OpenGL

v0.106.8
GPL
Authors
Duncan Murdoch [aut, cre], Daniel Adler [aut], Oleg Nenadic [ctb], Simon Urbanek [ctb], Ming Chen [ctb], Albrecht Gebhardt [ctb], Ben Bolker [ctb], Gabor Csardi [ctb], Adam Strzelecki [ctb], Alexander Senger [ctb], The R Core Team [ctb, cph], Dirk Eddelbuettel [ctb], The authors of Shiny [cph], The authors of knitr [cph], Jeroen Ooms [ctb], Yohann Demont [ctb], Joshua Ulrich [ctb], Xavier Fernandez i Marin [ctb], George Helffrich [ctb], Ivan Krylov [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.