[R] how to input data from the keyboard

From: Miguel Caro <mcaro72_at_gmail.com>
Date: Thu, 07 Jun 2007 11:00:52 -0700 (PDT)

Hello everybody, i wish to input data from the keyboard. In C++ it would seem like this:

printf("Input parameter Alpha= ");
scanf("%d", &alpha);

how would be in R?

Thanks for your help.


View this message in context: http://www.nabble.com/how-to-input-data-from-the-keyboard-tf3885387.html#a11013164
Sent from the R help mailing list archive at Nabble.com.

R-help_at_stat.math.ethz.ch mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 07 Jun 2007 - 18:08:07 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 07 Jun 2007 - 19:31:43 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.