I drew a 3D plot with plot3d function using rgl packagein R
plot3d(x[,1:3], type= 's', col = y[,6], size= 2)
however I cant save it as html I tried knitr and writeWebGl , but without any success.
knit_hooks$set(rgl = hook_rgl)
also this code only open an empty html
browseURL(paste("file://", writeWebGL(dir=file.path(tempdir(), "webGL"),
width=500), sep=""))
my question is how i can save my 3d plot in html?