[R] Multiple plots on multiple devices

2008-11-03 Thread Oliver Kimberlin
Hi List, This is possibly a newbie error. I have however searched long and hard and haven't found a solution. I am attempting to plot multiple lattice graphs in R, plotting 4 per page and moving on to a new device to plot the next 4 and so on. (I want to do this in R and not export to a pdf etc)

Re: [R] Multiple plots on multiple devices

2008-11-03 Thread Prof Brian Ripley
On Mon, 3 Nov 2008, Oliver Kimberlin wrote: Hi List, This is possibly a newbie error. I have however searched long and hard and haven't found a solution. I am attempting to plot multiple lattice graphs in R, plotting 4 per page and moving on to a new device to plot the next 4 and so on. (I

Re: [R] Multiple plots on multiple devices

2008-11-03 Thread Felix Andrews
Hi Oliver, These are my suggestions... Option 1: use the playwith package (a GTK+ interface); Option 2: use the latticist package (a gWidgets interface, will be released in the next day or two); Option 3: use this code: plotOnePage - function(x, page, ...) { stopifnot(inherits(x,