I'm running an R script in Rterm and would like the
user to be prompted for input as in:

id <- readline("Please enter ID: ")
myfunction(id)

. . . etc.

This works when I run one line at a time in RGui, but
not when I try to run the script in Rterm (I'm working
with R 2.2.0 in Windows Server 2003).

Is there any way to do this?

Mikkel

______________________________________________
[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