Re: [R] readline() is reading the entire line and not just the user input

2009-03-18 Thread jim holtman
It might be. I use Tinn-R, but always start my RGUI session separately and not as part of Tinn-R. On Wed, Mar 18, 2009 at 9:14 PM, Farrel Buchinsky wrote: > Indeed. I can also get it to work if I type directly in Rterm. But not when > running from Tinn-R. If this is a Tinn-R problem (relating to

Re: [R] readline() is reading the entire line and not just the user input

2009-03-18 Thread Farrel Buchinsky
Indeed. I can also get it to work if I type directly in Rterm. But not when running from Tinn-R. If this is a Tinn-R problem (relating to however command lines get from Tinn-R to the Rterm) then perhaps I should post it in the Tinn-R problem. Farrel Buchinsky Sent from: Pittsburgh Pennsylvania Un

Re: [R] readline() is reading the entire line and not just the user input

2009-03-16 Thread jim holtman
Seems to work fine with RTERM under my Windows: > ANSWER <- readline(prompt="Are you a satisfied R user? ") Are you a satisfied R user? yes > ANSWER [1] "yes" > > sessionInfo() R version 2.8.1 (2008-12-22) i386-pc-mingw32 On Mon, Mar 16, 2009 at 12:44 PM, Farrel Buchinsky wrote: > I just discov

[R] readline() is reading the entire line and not just the user input

2009-03-16 Thread Farrel Buchinsky
I just discovered readline to provide user input. It is working as one would expect in Rgui but not in Rterm. In Rterm it reads the entire line of code not just the user input. How do I fix and what is the issue that I should read about? Here is my two line script: ANSWER <- readline(prompt="Are