[R] show messages during a long process

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Tue Jun 11 14:58:08 CEST 2002

"Juan Ramon Gonzalez" <jrgonzalez at ico.scs.es> writes:

> Hi,
> I have a function which takes some time to execute (20 sec.) and I want to
> show the progress of the execution with simple messages such as "10% done",
> "20% done", ... (with a simple "cat" function). The problem is that all the
> messages appear together when the execution of the function is over. How can
> I show each message at their corresponding time?

On Windows? Disable "buffered output" via the menus.

   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