dmurdoch / rgl

rgl is a 3D visualization system based on OpenGL. It provides a medium to high level interface for use in R, currently modelled on classic R graphics, with extensions to allow for interaction.
https://dmurdoch.github.io/rgl/
GNU General Public License v2.0
85 stars 21 forks source link

rgl doesn't display in quarto #264

Closed dmurdoch closed 2 years ago

dmurdoch commented 2 years ago

The current rgl version 0.109.15 doesn't display plots in a quarto document, though it works fine in R Markdown. Presumably this is because quarto isn't using the same hooks as knitr uses.

htmlwidgets like leaflet do display properly, but rgl needs a deeper connection, since it emulates base graphics.

dmurdoch commented 2 years ago

Fixed by https://github.com/quarto-dev/quarto-cli/pull/1857