On 30/06/2011 5:33 PM, Greg Snow wrote:
On some operating systems (which we don't know yours, see the posting guide) the output is buffered and including a call to flush.console() will flush all the output from the buffer to the console. Put the function call throughout the script and when it is run it will stop buffering for a bit.
The OP said he's running in Windows 7. In that case, there's the "Misc|Buffered output" option, which makes things appear as soon as they are printed. It appears to work for source(..., echo=TRUE) as well.
Duncan Murdoch
The other possibility is that your script does some plotting and that is what is pausing until you click. In that case you need to use a different graphics device or methodology to avoid this (see ?interactive).
______________________________________________ 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.