set.Device: Sets the current device index

Description Usage Arguments Value Author(s) See Also

Description

Static method that sets the current device index. If there exists no device with that index a device with that index will be created. This might result in several intermediate device will have to be opened, but they will be closed before returned. Similar to Matlab's figure function.

Usage

1

Arguments

index

The index to which the current device will be set to.

device

Specifies the device driver devices that might be opened.

...

Not used.

Value

Returns the number of opened devices.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

dev.set.

For more information see Device.


HenrikBengtsson/R.graphics documentation built on May 6, 2019, 11:53 p.m.