chrisli1223 wrote:
> 
> (1) I have written a script which requires user input. I am using the
> readline() command.However, everytime when I run the script, R does not
> wait for the user input and proceed to the next line. Is there something
> like par(ask=T) to solve this problem?
> 

Depends on how you run the script. Try to insert
print(interactive())

If the result is FALSE, it does not wait. Have you tried a simple

a = readline()

in your GUI? What happens?


Dieter

-- 
View this message in context: 
http://n4.nabble.com/User-inputs-tp2018251p2018551.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@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.

Reply via email to