Description Usage Arguments Author(s) Examples
Render a WebGL renderWebGL in an application page.
1 | webGLOutput(outputId, width = "100%", height = "400px")
|
outputId |
The ID of the |
width |
The width of the WebGL scene. Must be a valid CSS unit (like "100%", "400px", or "auto") or a number, which will be treated as a number of pixels. |
height |
Plot height. See |
Jeff Allen jeff@trestletech.com
1 2 3 4 | ## Not run:
webGLOutput("sctPlot")
## End(Not run)
|
Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl_init' failed, running with rgl.useNULL = TRUE
3: .onUnload failed in unloadNamespace() for 'rgl', details:
call: fun(...)
error: object 'rgl_quit' not found
<div id="sctPlot" class="shiny-gl-output" style="width: 100% ; height: 400px"></div>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.