[R] How to wait for a user response in Rscript?

RIOS,ALFREDO ARTURO arios at ufl.edu
Sun Sep 6 18:55:33 CEST 2009


Hi Peng

I think this is what you are looking for

par(ask=T)

Alfredo


On Sun Sep 06 12:52:31 EDT 2009, Peng Yu <pengyu.ut at gmail.com> 
wrote:

> Hi,
> 
> In 'example(barplot)' running in R, I see 'Hit <Return> to see 
> next
> plot:', then R waits for my input. I am wondering how to wait for 
> a
> user response in Rscript.
> 
> Regards,
> Peng
> 
> ______________________________________________
> 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.
> 
> 



--
RIOS,ALFREDO ARTURO




More information about the R-help mailing list