Check out: http://tolstoy.newcastle.edu.au/R/help/03a/6855.html
On Thu, Jul 9, 2009 at 2:24 PM, Mark Knecht<markkne...@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@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. > ______________________________________________ R-help@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.