[R] call for input
Paul Hiemstra
p.hiemstra at geo.uu.nl
Mon Sep 14 18:06:57 CEST 2009
Martin Batholdy wrote:
> Hi,
>
> is there a way to make a call for an input at some point of a process ..?
>
> I don't know how to describe it well ...
>
>
> like;
>
>
> please enter your first name:
> >
>
>
> and then, what is typed in should be saved into a variable.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Hi,
Look at the readline() function.
cheers,
Paul
--
Drs. Paul Hiemstra
Department of Physical Geography
Faculty of Geosciences
University of Utrecht
Heidelberglaan 2
P.O. Box 80.115
3508 TC Utrecht
Phone: +3130 274 3113 Mon-Tue
Phone: +3130 253 5773 Wed-Fri
http://intamap.geo.uu.nl/~paul
More information about the R-help
mailing list