[R] how can achive step by step execution of the script

Bert Gunter gunter.berton at gene.com
Fri Jul 9 18:22:24 CEST 2010

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", 

Hope this helps.


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
> 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
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