[R] Forcing a refresh in R for Windows

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Wed Sep 26 22:36:42 CEST 2001

Jim_Garrett at bd.com writes:

> I don't get any update printed to the screen until after the loop is
> completed, which is when I no longer need it.  If something causes the
> screen to refresh, such as swapping to another application and back, the
> information is printed.  However, is there any kind of programming command
> I can use that will force a printout when I want it?

flush.console(), I believe. (Not sitting at a Windows box, though)

   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list