Doing (R3.4, ubuntu 16.04, rgl 0.95.1441):
library(rgl)
open3d()
returns:
Error in rgl.clear(type, subscene = subscene) :
object 'rgl_clear' not found
x <- sort(rnorm(1000))
y <- rnorm(1000)
z <- rnorm(1000) + atan2(x, y)
plot3d(x, y, z, col = rainbow(1000))
Error in currentSubscene3d() : object 'rgl_getsubsceneid' not found
How to fix this?
You have probably recently upgraded R. After an upgrade, you need to reinstall packages. An easy way to do so is
update.packages(checkBuilt = TRUE)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With