[R-SIG-Mac] flushing of stdout

Joerg van den Hoff j.van_den_hoff at fzd.de
Wed Aug 22 17:20:35 CEST 2007


hello,

I post this here, since maybe it's only a Mac problem.


I noted only now an apparent change of behaviour in 2.5.0 relative
to older times:

I use `cat' to stdout from within a long running loop to report
the loop count to the user. this output is now delayed until the program
completes (i.e. the output is buffered) and, thus, does not make much sense
anymore...

issuing `flush(stdout())' after the `cat' does not help.

is this really so or am I missing something?

regards,

joerg



More information about the R-SIG-Mac mailing list