Hi
Using Windows 10, Rstudio 1.2.5001, R 3.6.1 , htmlwidgets 1.5.1, rgl 0.100.30, knitr 1.25
I am having the same problem as this user - i.e. if I knit an RGL plot it just leaves a white gap and does not display (their issue was closed recently but I dont think a solution was presented??)
Rstudio 1.2 not knitting rgl object in rglwidget
e.g. even for the simple example out of the online manual:
https://cran.r-project.org/web/packages/rgl/vignettes/WebGL.html
library(rgl)
plotids <- with(iris, plot3d(Sepal.Length, Sepal.Width, Petal.Length,
type="s", col=as.numeric(Species)))
rglwidget(elementId = "plot3drgl")
Can anyone see this plot in a knitted html file?
Thanks in advance
Alex