[R] pgup/pgdown in R Graphics Window under Linux

Deepayan Sarkar deepayan.sarkar at gmail.com
Fri Jul 6 02:05:02 CEST 2007


On 7/5/07, Paul Matthias Diderichsen
<paulmatthias.diderichsen at abbott.com> wrote:
> Dear S-users.
> This should be an easy one: How do I change pages on an X11 graphics
> device under linux?
>
> I thought that the page-up/page-down keys were supposed to do the trick,
> but the frame (window) seems to be kind of immune to any kind of keyboard
> input. The only reaction I ever see is that the mouse pointer changes to a
> "+" when moved into the frame.
>
> I issue these commands:

[...]

> > library(lattice)
> > xyplot(speed~dist|speed, data=cars, layout=c(3,3))

If this is your use case, you might be interested in

http://cran.r-project.org/src/contrib/Descriptions/plotAndPlayGTK.html

-Deepayan



More information about the R-help mailing list