[R] how to pause between graphics

From: Peter B. Mandeville <mandevip_at_uaslp.mx>
Date: Tue, 25 Nov 2008 07:08:24 -0600

Dear list:  

Before posting this message, I read the posting guide, examined the manuals, searched the R help files, and examined in detail the books that I have available on R.  

I am using R version 2.8.0 and WinXP.  

I want to pause the R Graphics window to permit the use of the File, History, and Resize options between each graphic in a series of graphics. If I use the functions             




between the graphics there is a pause but one cannot use the File, History, and Resize options. For an example use        


What I want to do is approximated by the following code:  

trat <- factor(c(rep("A",5),rep("B",5),rep("C",5)))


resp <-
c(rnorm(5,mean=5,sd=1.75),rnorm(5,mean=6.5,sd=1.75),rnorm(5,mean=15,sd=1.75) )

aovOBJ <- aov(resp~trat)


AOV <- function(aovOBJ){

  print(tmp <- summary.lm(aovOBJ))


  reply <- readline(prompt="Next:")


  xfit <- seq(min(tmp$resid),max(tmp$resid),length=40)

  yfit <- dnorm(xfit,mean=mean(tmp$resid),sd=sd(tmp$resid))


  reply <- readline(prompt="Next:")




  reply <- readline(prompt="Next:")


  reply <- readline(prompt="Next:")


  reply <- readline(prompt="Next:")

  tmp <- TukeyHSD(aovOBJ)




There ought to exist a lot easier user friendly way to do this. Does anyone know one?  

Thank you very much,  


Peter B. Mandeville

cel: 444 860 3204

tel: 52 444 826 2346-49 ext 532

fax: 52 444 826 2350  

P.D. Favor de confirmar la llegada de este correo. Gracias.  

        [[alternative HTML version deleted]]

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. Received on Tue 25 Nov 2008 - 13:10:12 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 25 Nov 2008 - 17:30:27 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive