title: Getting integer input from the user at runtime in R
body: <p>I want to get an input to an integer variable in my R code during runtime. I have mostly coded in C and want to know if there is some function like <code>scanf</code> in R that can be used to read input from the user?</p>