-- View this message in context: http://r.789695.n4.nabble.com/how-can-achive-step-by-step-execution-of-the-script-tp2283207p2283207.html Sent from the R help mailing list archive at Nabble.com.
Hi R Experts, I have certain code ,i want to achive interactive execution . For ex: 1. as part of input ,it should ask file name or table name as input. 2.in script so many graphs i need to draw,it should wait till certain key is pressed . 3:i am using windows R,rscript <scriptname> is not working. Please some one help me. Thanks Experts in advance -- View this message in context: http://r.789695.n4.nabble.com/how-can-achive-step-by-step-execution-of-the-script-tp2283207p2283209.html Sent from the R help mailing list archive at Nabble.com.
Allan Engelhardt
2010-Jul-09 15:43 UTC
[R] how can achive step by step execution of the script
Sounds like you want devAskNewPage(TRUE) or the related options("device.ask.default"). See help("devAskNewPage", package="grDevices"). Hope this helps. Allan On 09/07/10 13:54, vijaysheegi wrote:> Hi R Experts, > I have certain code ,i want to achive interactive execution . > For ex: > 1. as part of input ,it should ask file name or table name as input. > 2.in script so many graphs i need to draw,it should wait till certain key is > pressed . > 3:i am using windows R,rscript<scriptname> is not working. > > > > Please some one help me. > > Thanks Experts in advance > > >
No - devAskNewPage is not what the OP asked for. 1. The following are, but probably only work when R is in interactive mode (?interactive), e.g. in the GUI: 2. ?winDialog ?file.choose ?choose.files ?select.list ?readline and friends and for keyboard: ?getGraphicsEvent Bert Gunter Genentech Nonclinical Biostatistics -----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of Allan Engelhardt Sent: Friday, July 09, 2010 8:43 AM To: vijaysheegi Cc: r-help at r-project.org Subject: Re: [R] how can achive step by step execution of the script Sounds like you want devAskNewPage(TRUE) or the related options("device.ask.default"). See help("devAskNewPage", package="grDevices"). Hope this helps. Allan On 09/07/10 13:54, vijaysheegi wrote:> Hi R Experts, > I have certain code ,i want to achive interactive execution . > For ex: > 1. as part of input ,it should ask file name or table name as input. > 2.in script so many graphs i need to draw,it should wait till certain keyis> pressed . > 3:i am using windows R,rscript<scriptname> is not working. > > > > Please some one help me. > > Thanks Experts in advance > > >______________________________________________ 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.