Learn R Programming

gmatrix (version 0.3)

checkDevice: Check that the specified integer is the current device.

Description

Mostly for internal uses.

Usage

checkDevice(x)

Arguments

x
A vector of integers

Value

Returns TRUE or errors out.

Details

Errors out if x is not the current device.

See Also

getDevice, setDevice and device