rgl {rgl} | R Documentation |
3D visualization device system using OpenGL.
rgl.open() # open new device rgl.close() # close rgl.cur() # returns active device rgl.set(which) # set device as active rgl.quit() # force rgl sub-system shutdown and detach package
which |
device id |
The rgl R package allows for creating multiple rgl devices, where one at a time has the current focus.
The device design is oriented towards the R device metaphor. If you send scene management instructions, and there's no device open, it will be opened automatically.
Opened devices automatically gain the current device focus. The focus may be changed by using rgl.set().
rgl.quit() does shutdown the rgl subsystem and all open devices, detaches the package inclusive the shared library and additional system libraries.
rgl.clear
,
rgl.pop
,
rgl.viewpoint
,
rgl.light
,
rgl.bg
,
rgl.bbox
,
rgl.points
,
rgl.lines
,
rgl.triangles
,
rgl.quads
,
rgl.texts
,
rgl.surface
,
rgl.spheres
,
rgl.sprites
,
rgl.snapshot
,
rgl-maintainer
example(rgl.surface)