View source: R/plotting-other.R
dev | R Documentation |
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.
dev(x, ..., verbose = getOption("quickPlot.verbose"))
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 |
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.
Opens a new plot device on the screen. Invisibly returns the device number selected.
Eliot McIntire and Alex Chubaty
## Not run:
dev(4)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.