[R] Reading Data
Kissell, Robert [EQRE]
robert.kissell at citigroup.com
Fri Mar 19 17:47:10 CET 2004
Hi,
Quick question on reading data.
I am running simulations but want to allow the user the option to define the number of simulations. How can I have R read-in user data entered from the keyboard? Is there a difference for reading in numeric and character data?
For example, I am trying to write the following in R:
Enter Number of Iterations?
<<<the user then enters a number say Y >>>
X <- Y # i then want to read that number into X
Thanks.
More information about the R-help
mailing list