[R] multiple plots without for loops
Phil Spector
spector at stat.berkeley.edu
Wed Jun 16 04:56:40 CEST 2010
Sherri -
Perhaps calling
par(ask=TRUE)
before plotting would be useful. (You'll be prompted to
hit Return to see the next plot in the series.)
- Phil Spector
Statistical Computing Facility
Department of Statistics
UC Berkeley
spector at stat.berkeley.edu
On Tue, 15 Jun 2010, sheck at ucar.edu wrote:
> Dear All-
>
> I am trying to plot over one hundred figures. I do not want to save them,
> just walk through them to take a look. If I run the code as it is below,
> then the plots just rapidly run through. I tried adding a new device, but I
> reached the device number limit. I have gone through the online manuals,
> done google searches and the R Site help pages and haven't found anything to
> help me. any thoughts or just pointing me to the right place would be great!
> I feel like this should be simple!
>
> invisible(lapply(split(agg$mph, breaks), function(.values){
> #x11()
> #par(mfrow=c(4, 4))
> plot(.values)
> } ))
>
>
> Thanks in advance for any guidance,
>
> Sherri Heck
>
> ______________________________________________
> R-help at r-project.org mailing list
> 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