[R] 'scan' in a script?

Mark Knecht markknecht at gmail.com
Thu Jul 9 20:24:49 CEST 2009


When I use the scan function in the Rgui console it works as expected.
However it seems that when I put the same command in a script file it
doesn't wait for input.

Is there an option to scan to make it wait for input when used in a
script? Or is there possibly a different function that will do in a
script the same sort of thing as scan does in the console?

Thanks,
Mark




More information about the R-help mailing list