OK, I missed that he did state the OS, my apologies to Steven. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.s...@imail.org 801.408.8111
> -----Original Message----- > From: Duncan Murdoch [mailto:murdoch.dun...@gmail.com] > Sent: Thursday, June 30, 2011 4:31 PM > To: Greg Snow > Cc: Steven Wolf; 'David Winsemius'; r-help@r-project.org > Subject: Re: [R] source, echo...and clicking the mouse > > 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.