[R] Supplying function inputs interactively

Peng, C cpeng.usm at gmail.com
Sun Sep 12 01:23:29 CEST 2010



Have you tried scan()?:


> y=scan()
1: 2
2: 
Read 1 item
> y
[1] 2
-- 
View this message in context: http://r.789695.n4.nabble.com/Supplying-function-inputs-interactively-tp2536003p2536004.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list