[R] cat in windows vs linux

Uwe Ligges ligges at statistik.uni-dortmund.de
Tue Feb 25 16:36:02 CET 2003


rob foxall (IFR) wrote:
> Hi all,
> 	Easy question for you (which I failed to find the answer to in the FAQ etc). I've recently been forced to switch from linux to windows (currently windows NT), and my usual habit of putting lots of "cat" statements in slow functions to get an idea of the progress rate is no longer useful. Why -- because R waits until the function is completely finished before printing the cat statements all at once to the screen. Don't know if this is an R thing or a windows thing, but if there is a way to get cat statements printed to the screen as soon as the function calls it, I'd like to hear it! Using R version 1.6.2.


It *is* in the R for Windows FAQs, Section 6.3.

Uwe Ligges



> Cheers,
> 	Rob.
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> http://www.stat.math.ethz.ch/mailman/listinfo/r-help




More information about the R-help mailing list