Jun Shen
2013-Dec-31 19:02 UTC
[R] How to ask a function to continuously print intermediate results
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. Jun [[alternative HTML version deleted]]
Duncan Murdoch
2013-Dec-31 19:10 UTC
[R] How to ask a function to continuously print intermediate results
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