[R] how to input data from the keyboard

Bert Gunter gunter.berton at gene.com
Thu Jun 7 20:21:06 CEST 2007


Please do your homework:

help.search("input")
 


Bert Gunter
Genentech Nonclinical Statistics


-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Miguel Caro
Sent: Thursday, June 07, 2007 11:01 AM
To: r-help at stat.math.ethz.ch
Subject: [R] how to input data from the keyboard


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.

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

______________________________________________
R-help at 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.



More information about the R-help mailing list