[R] confusion about dev.prev()

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Mon Dec 5 14:38:34 CET 2022

В Mon, 5 Dec 2022 21:28:16 +0800
Peter Langfelder <peter.langfelder using gmail.com> пишет:

> Open two devices, plot a plot, call dev.prev() and plot again. I
> would expect the second plot to appear in the first device, but that
> is not what happens; both plots appear in the second device. 

Unfortunately, dev.prev() and dev.next() only return the number of the
respective device. You need dev.set() to actually make the change.

Best regards,

More information about the R-help mailing list