powered by
This function find the first context that contains a device of the specified type.
set_device_context(type)
An integer indicating previous context index
A character vector specifying device type