Learn R Programming

rgl (version 1.2.8)

.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()
close3d()

Run the code above in your browser using DataLab