« Return to Thread: 'scan' in a script?

Re: 'scan' in a script?

by Gabor Grothendieck :: Rate this Message:

Reply to Author | View in Thread

Check out:

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

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

______________________________________________
R-help@... 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.

 « Return to Thread: 'scan' in a script?