On Fri, 27 Aug 2004, Manoj - Hachibushu Capital wrote:

> ?readline

Yes, but a nearer equivalent to scanf in C is scan() which reads from the 
keyboard by default.

> -----Original Message-----
> [mailto:[EMAIL PROTECTED] On Behalf Of Neil Leonard
> Sent: Friday, August 27, 2004 2:04 PM
> 
> Does anybody know if it is possible to have keyboard input into 
> functions? Kind of like 'scanf()' in C.
> 
> I want to write a function that asks me what to put in certain 
> variables.

-- 
Brian D. Ripley,                  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to