Learn R Programming

rgl (version 0.111.6)

.check3d: Check for an open RGL window.

Description

Mostly for internal use, this function returns the current device number if one exists, or opens a new device and returns that.

Usage

.check3d()

Arguments

Value

The device number of an RGL device.

Author

Duncan Murdoch

See Also

open3d

Examples

Run this code
rgl.dev.list()
.check3d()
rgl.dev.list()
.check3d()
rgl.dev.list()
rgl.close()

Run the code above in your browser using DataLab