[R] How to ask a function to continuously print intermediate results
Duncan Murdoch
murdoch.duncan at gmail.com
Tue Dec 31 20:10:17 CET 2013
On 13-12-31 2:02 PM, Jun Shen wrote:
> Dear all,
>
> I have a print command to export some intermediate results from a
> user-defined function. It takes a while to run the function and I found I
> have to press a key to see the printed results on the screen. How can I ask
> the function to continuously print results on the screen without pressing
> any keys? Thanks.
This depends to some extent on which platform you're on. On Windows in
Rgui, you can disable "buffered output" using Ctrl-W or the entry in the
"Misc" menu. If you're using a different platform, search for "buffered
output" in its help system.
Duncan Murdoch
More information about the R-help
mailing list