(This article was originally published at Stat Bandit, and syndicated at StatsBlogs.)
To input data interactively into R, use the function readline:
x <- readline("What is your answer? ")
Please comment on the article here: Stat Bandit
(This article was originally published at Stat Bandit, and syndicated at StatsBlogs.)
To input data interactively into R, use the function readline:
x <- readline("What is your answer? ")
Please comment on the article here: Stat Bandit
Tags: R
