[R] cat in windows vs linux
rob foxall (IFR)
rob.foxall at BBSRC.AC.UK
Tue Feb 25 16:24:03 CET 2003
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.
More information about the R-help