[R] User inputs
Dieter Menne
dieter.menne at menne-biomed.de
Wed Apr 21 10:08:51 CEST 2010
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.
More information about the R-help
mailing list