(edit) Use open3d()
instead of rgl.open()
to open the new window. The documentation warns against mixing rgl.*
calls with *3d
calls, and I guess this is an example. Here are three plots -- default, rgl.open()
, and open3d()
...
library(rgl)
plot3d(1:4,1:4,1:4)
rgl.open()
plot3d(1:4,1:4,1:4)
open3d()
plot3d(1:4,1:4,1:4)
And the results side-by-side:
Session info:
R Under development (unstable) (2012-12-14 r61321)
Platform: i686-pc-linux-gnu (32-bit)
[locale snipped]
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] rgl_0.92.894