Title: | Shiny Wrappers for RGL |
---|---|
Description: | Shiny wrappers for the RGL package. This package exposes RGL's ability to export WebGL visualization in a shiny-friendly format. |
Authors: | Trestle Technology, LLC. |
Maintainer: | Jeff Allen <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.1.1 |
Built: | 2024-11-14 03:13:21 UTC |
Source: | https://github.com/trestletech/shinyrgl |
Render a WebGL Shiny output.
renderWebGL(expr, width = "auto", height = "auto", env = parent.frame(), quoted = FALSE)
renderWebGL(expr, width = "auto", height = "auto", env = parent.frame(), quoted = FALSE)
expr |
The expression to be evaluated which should produce a rgl scene. |
width |
Either "auto", in which case the width will be calculated (reactively) based on the size of the glOutput element associated with this function, or a numeric value representing the width of the desired WebGL scene in pixels. |
height |
The height of the WebGL scene. See
|
env |
The environment in which |
quoted |
Is |
Jeff Allen [email protected]
## Not run: renderWebGL({ points3d(1:10,1:10,1:10) }) ## End(Not run)
## Not run: renderWebGL({ points3d(1:10,1:10,1:10) }) ## End(Not run)
Run the bivar example form the shinyRGL package.
runBivarExample(port = 8100L, launch.browser = getOption("shiny.launch.browser", interactive()), workerId = "")
runBivarExample(port = 8100L, launch.browser = getOption("shiny.launch.browser", interactive()), workerId = "")
port |
The TCP port that the application should listen on. Defaults to port 8100. |
launch.browser |
If true, the system's default web browser will be launched automatically after the app is started. Defaults to true in interactive sessions only. |
workerId: |
Can generally be ignored. Exists to help some editions of Shiny Serv |
Michael J. Kane [email protected]
## Not run: runBivarExample() ## End(Not run)
## Not run: runBivarExample() ## End(Not run)
Run the scatterplot example form the shinyRGL package.
runScatterplotExample(port = 8100L, launch.browser = getOption("shiny.launch.browser", interactive()), workerId = "")
runScatterplotExample(port = 8100L, launch.browser = getOption("shiny.launch.browser", interactive()), workerId = "")
port |
The TCP port that the application should listen on. Defaults to port 8100. |
launch.browser |
If true, the system's default web browser will be launched automatically after the app is started. Defaults to true in interactive sessions only. |
workerId: |
Can generally be ignored. Exists to help some editions of Shiny Serv |
Michael J. Kane [email protected]
## Not run: runScatterplotExample() ## End(Not run)
## Not run: runScatterplotExample() ## End(Not run)
Render a WebGL renderWebGL in an application page.
webGLOutput(outputId, width = "100%", height = "400px")
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 [email protected]
## Not run: webGLOutput("sctPlot") ## End(Not run)
## Not run: webGLOutput("sctPlot") ## End(Not run)