[R] R interactive input like C++

Erik Iverson eriki at ccbr.umn.edu
Thu Apr 15 02:38:53 CEST 2010


?? wrote:
> Hi,
> 
> Does R have some way to function as the cin object in C++
> 
> like I generate a integer variable x in R, and I want the user to input the
> value x, like in C++
> 
> cin>>x
> 

See ?scan



More information about the R-help mailing list