title: How to get a range of values as input in R?
body: <p>I know that <code>readline()</code> is used to get user input. But how to use it to get a range of values?</p>
  
  <p>Eg: I need to get 10 random numbers from user and want to do some operations on them. Please help!</p>
  
  <p>PS: I am totally new to R.</p>