[R] show messages during a long process

Laurent Gautier laurent at cbs.dtu.dk
Tue Jun 11 16:18:23 CEST 2002


This would work under UNIX when running R on the command line.
I think the Rgui terminal is buffered...
the gurus out there might know a trick to flush it on request... 




On Tue, Jun 11, 2002 at 02:39:10PM +0200, Juan Ramon Gonzalez wrote:
> 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?
> 
> Thanks,
> 
> Juan
> 
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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