Re: [R] What command does the "cin >> " in R ?

From: talepanda <talepanda_at_gmail.com>
Date: Sat 13 Jan 2007 - 07:11:08 GMT

try:

readLines(n=1)->str

On 1/13/07, Tong Wang <wangtong@usc.edu> wrote:
> Hi all,
> Sorry about the simple question, but I have searched the web with "
> prompt , input " etc. and never got the answer .
>
> thanks a lot
>
> tong
>
> ______________________________________________
> R-help@stat.math.ethz.ch 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.
>



R-help@stat.math.ethz.ch 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. Received on Sat Jan 13 18:18:13 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 13 Jan 2007 - 12:30:29 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.