trestletech / shinyRGL

Shiny wrappers for RGL (WebGL)
MIT License
52 stars 22 forks source link

rgl doesn't appear on hidden tab #3

Closed cpsievert closed 11 years ago

cpsievert commented 11 years ago

I've modified the scatterplot example to incorporate tabsetPanels. On the first tab is a basic plot, which displays fine. However, the rgl plot on the second (hidden) tab won't appear. I should note that this example works fine if the rgl plot is on the first (default) tab. However, it would be nice to have the option to embed rgl plots on a non-default tab. You can view the source here

trestletech commented 11 years ago

Good catch! I hadn't thought through the in/active model on this output. I'll be sure to add that shortly.

trestletech commented 11 years ago

Looks like runGitHub("shinyRGL", "cpsievert", subdir="inst/examples/scatterplot") works properly now. Let me know if you still have problems.

cpsievert commented 11 years ago

Sure does. Thanks!