[R] confusion about dev.prev()

Peter Langfelder peter@|@ng|e|der @end|ng |rom gm@||@com
Mon Dec 5 14:40:13 CET 2022


Ah, thanks, got it. Misread the help again...

Peter

On Mon, Dec 5, 2022 at 9:38 PM Ivan Krylov <krylov.r00t using gmail.com> wrote:
>
> В 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,
> Ivan



More information about the R-help mailing list