Learn R Programming

rgl (version 0.107.14)

.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.

See Also

open3d

Examples

Run this code
# NOT RUN {
rgl.dev.list()
.check3d()
rgl.dev.list()
.check3d()
rgl.dev.list()
rgl.close()
# }

Run the code above in your browser using DataLab