[R] show messages during a long process
apjaworski@mmm.com
apjaworski at mmm.com
Tue Jun 11 17:58:14 CEST 2002
In Rgui you can use flush.console().
Andy
__________________________________
Andy Jaworski
Engineering Systems Technology Center
3M Center, 518-1-01
St. Paul, MN 55144-1000
-----
E-mail: apjaworski at mmm.com
Tel: (651) 733-6092
Fax: (651) 736-3122
|---------+----------------------------->
| | Laurent Gautier |
| | <laurent at cbs.dtu.d|
| | k> |
| | |
| | 06/11/2002 09:18 |
| | |
|---------+----------------------------->
>-----------------------------------------------------------------------------------------------------------------------------|
| |
| To: Juan Ramon Gonzalez <jrgonzalez at ico.scs.es> |
| cc: r-help at stat.math.ethz.ch |
| (bcc: Andrzej P. Jaworski/US-Corporate/3M/US) |
| Subject: Re: [R] show messages during a long process |
>-----------------------------------------------------------------------------------------------------------------------------|
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
_._._
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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