[R] confusion about dev.prev()

Martin Maechler m@ech|er @end|ng |rom @t@t@m@th@ethz@ch
Tue Dec 6 19:32:08 CET 2022


>>>>> Peter Langfelder 
>>>>>     on Mon, 5 Dec 2022 21:40:13 +0800 writes:

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

... I think we all had ... and then known for a while  and then
forgot again ...

If you see how to improve the help page, so this happens less, ..
we'd look at it to add the improvement there.

Martin

    > 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

    > ______________________________________________
    > R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
    > https://stat.ethz.ch/mailman/listinfo/r-help
    > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
    > and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list