[R] rgl not plotting properly

Jiayue Wang @@@h@@w@ng2017 @end|ng |rom y@ndex@com
Fri May 5 08:24:04 CEST 2023


Hi

I can't get rgl working. I installed rgl, loaded it, but it seems all 
plot3d codes have failed:

remotes::install_github("dmurdoch/rgl")
library(rgl)
open3d()
x <- sort(rnorm(1000))
y <- rnorm(1000)
z <- rnorm(1000) + atan2(x, y)
plot3d(x, y, z, col = rainbow(1000))

I see no plotting at all. Am I missing some important system library or 
whatever? I'm using Linux Mint 23. Thanks!

Thanks,
Jiayue



More information about the R-help mailing list