Re: [R] User inputs

2010-04-22 Thread chrisli1223
Thank you very much Dieter and Don. This solves my problem. :) -- View this message in context: http://r.789695.n4.nabble.com/User-inputs-tp2018251p2023067.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing l

Re: [R] User inputs

2010-04-21 Thread Don MacQueen
At 4:24 PM -0800 4/20/10, chrisli1223 wrote: Hi everyone, I have been searching for answers for the following questions but I don't have much success. The following questions may actually be quite simple. Any help would be greatly appreciated. (1) I have written a script which requires user inp

Re: [R] User inputs

2010-04-21 Thread Dieter Menne
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 o

[R] User inputs

2010-04-20 Thread chrisli1223
Hi everyone, I have been searching for answers for the following questions but I don't have much success. The following questions may actually be quite simple. Any help would be greatly appreciated. (1) I have written a script which requires user input. I am using the readline() command.However,