Learn R Programming

rgl (version 0.99.16)

.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