SpaDES (version 1.1.4)

dev: 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.

Usage

dev(x, ...)

Arguments

x
The number of a plot device. If missing, will open a new non-RStudio plotting device
...
Additional arguments passed to newPlot.

Value

  • Opens a new plot device on the screen.

Details

For example, dev(6) switches the active plot device to device #6. If it doesn't exist, it opens it. NOTE: if devices 1-5 don't exist they will be opened too.