The R.devices package provides functions for this. For instance, you
can open several devices with different labels and the close then in
whatever order you'd like:
> library("R.devices")
> devSet("foo")
> plot(1:10)
> devSet("bar")
> plot(10:1)
> devSet("foo")
> points(10:1)
> devSet("bar")
> de
Hi Dan,
The range of device numbers seems to be 1-63. There doesn't appear to be a
means of explicitly setting the device number when calling dev.new, and
devices are numbered sequentially when they are opened. This means that
even if you did know that the device number was, say, 4 it would be
poss
You could keep track of the device number using dev.cur() when you
create the plot, and some combination of
dev.set()
dev.list()
dev.close(which=mydev)
to manage them.
Sarah
On Tue, Dec 15, 2015 at 3:51 PM, Dalthorp, Daniel wrote:
> dev.off(which) can be used to close a specific graphics device
3 matches
Mail list logo