dev {quickPlot} | R Documentation |
Specify where to plot
Description
Switch to an existing plot device, or if not already open,
launch a new graphics device based on operating system used.
On Windows and macOS, if x
is not provided, this will open or switch to the first
non-RStudio device, which is much faster than the ‘png’-based RStudio plot device.
Currently, this will not open anything new.
Usage
dev(x, ..., verbose = getOption("quickPlot.verbose"))
Arguments
x |
The number of a plot device. If missing, will open a new non-RStudio plotting device |
... |
Additional arguments passed to |
verbose |
Numeric or logical. If |
Details
For example, dev(6)
switches the active plot device to device 6.
If it does not exist, it opens it. If devices 1-5 don't exist they will be opened too.
Value
Opens a new plot device on the screen. Invisibly returns the device number selected.
Author(s)
Eliot McIntire and Alex Chubaty
Examples
## Not run:
dev(4)
## End(Not run)