[R] 'scan' in a script?

Gabor Grothendieck ggrothendieck at gmail.com
Fri Jul 10 01:27:59 CEST 2009


Check out:

http://tolstoy.newcastle.edu.au/R/help/03a/6855.html

On Thu, Jul 9, 2009 at 2:24 PM, Mark Knecht<markknecht at gmail.com> wrote:
> 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
>
> ______________________________________________
> 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.
>




More information about the R-help mailing list