Check that the specified integer is the current device.

Description

Mostly for internal uses.

Usage

1

Arguments

x

A vector of integers

Details

Errors out if x is not the current device.

Value

Returns TRUE or errors out.

Author(s)

Nathan Morris

See Also

getDevice, setDevice and device

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.