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.
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.
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.