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.