Hi, I am running a loop to plot multiple plots. In s-plus, it shows multiple pages in the graphic window to allow checking on each plot. but in R, the next plot always overwrite the previous one, so i can only have the last plot produced, is there a way to have multiple pages in the graphic window just like S-plus does? Thanks
On Thu, 21 Aug 2003, array chip wrote:> Hi, > > I am running a loop to plot multiple plots. In s-plus, > it shows multiple pages in the graphic window to allow > checking on each plot. but in R, the next plot always > overwrite the previous one, so i can only have the > last plot produced, is there a way to have multiple > pages in the graphic window just like S-plus does? >Under Windows you can turn on plot recording in the graphic window menu. -thomas
No, I don't think so. That's a feature not implemented in R. - tom blackwell - u michigan medical school - ann arbor - On Thu, 21 Aug 2003, array chip wrote:> I am running a loop to plot multiple plots. In s-plus, > it shows multiple pages in the graphic window to allow > checking on each plot. but in R, the next plot always > overwrite the previous one, so i can only have the > last plot produced, is there a way to have multiple > pages in the graphic window just like S-plus does? > > Thanks
You may prefer to use S-PLUS if it does precisely what you want. In R, you could use postscript() or pdf() to save all the graphs to a file and then view them at your leisure. There is always par(ask=TRUE) if you wanted to look at them on the screen. Regards, Andrew C. Ward CAPE Centre Department of Chemical Engineering The University of Queensland Brisbane Qld 4072 Australia andreww at cheque.uq.edu.au Quoting array chip <arrayprofile at yahoo.com>:> Hi, > > I am running a loop to plot multiple plots. In s-plus, > it shows multiple pages in the graphic window to allow > checking on each plot. but in R, the next plot always > overwrite the previous one, so i can only have the > last plot produced, is there a way to have multiple > pages in the graphic window just like S-plus does? > > Thanks > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help >
On 21 Aug 2003 at 15:29, array chip wrote: What about par(ask=TRUE) or maybe par(mfrow=c(2,3)) or whatever? Kjetil Halvorsen> Hi, > > I am running a loop to plot multiple plots. In s-plus, > it shows multiple pages in the graphic window to allow > checking on each plot. but in R, the next plot always > overwrite the previous one, so i can only have the > last plot produced, is there a way to have multiple > pages in the graphic window just like S-plus does? > > Thanks > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help
Andrew C. Ward wrote:> You may prefer to use S-PLUS if it does precisely what you > want. In R, you could use postscript() or pdf() to save all > the graphs to a file and then view them at your leisure. > There is always par(ask=TRUE) if you wanted to look at them > on the screen. >... or you might want to start a new device for each plot. Uwe Ligges> Regards, > > Andrew C. Ward > > CAPE Centre > Department of Chemical Engineering > The University of Queensland > Brisbane Qld 4072 Australia > andreww at cheque.uq.edu.au > > > Quoting array chip <arrayprofile at yahoo.com>: > > >>Hi, >> >>I am running a loop to plot multiple plots. In s-plus, >>it shows multiple pages in the graphic window to allow >>checking on each plot. but in R, the next plot always >>overwrite the previous one, so i can only have the >>last plot produced, is there a way to have multiple >>pages in the graphic window just like S-plus does? >> >>Thanks >> >>______________________________________________ >>R-help at stat.math.ethz.ch mailing list >>https://www.stat.math.ethz.ch/mailman/listinfo/r-help >> > > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help