[R-gui] function for user input
Hello Shweta,
On Saturday 27 October 2007, sschavan at ualr.edu wrote:
Hi, I was working on R-gui and I was wondering if there is any way to take input from user the way we take in perl using <STDIN>. All I need is to get the user input from a R-gui and save/process the data values entered by the user. I will be glad if anyone can let me know about taking user input in R.
I have no idea about perl and/or <STDIN>, but if you need input from the user in the R session you could look at these functions: ?scan ?readLines ?readline I hope this helps, Adrian
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
+40 21 3120210 / int.101