An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110214/4ab70659/attachment.pl>
txtProgressBar examples?
6 messages · Scott Chamberlain, Laurent Gatto, Mario Valle +2 more
Did you try running the examples on the help page ?txtProgressBar ? Basically the txtProgressBar command creates the progress bar, then in the loop the setTxtProgressBar command updates the amount of progress for that bar.
Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.snow at imail.org 801.408.8111 > -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r- > project.org] On Behalf Of Scott Chamberlain > Sent: Monday, February 14, 2011 11:33 AM > To: r-help > Subject: [R] txtProgressBar examples? > > Dear R users, > > > I am curious if someone could direct me towards websites/tutorials for > uses of progress bars (especially) in R. I can't seem to figure them > out. > > > Thanks very much, Scott > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting- > guide.html > and provide commented, minimal, self-contained, reproducible code.
'R: Monitoring the function progress with a progress bar' [1] might b helpful. Laurent [1] http://ryouready.wordpress.com/2009/03/16/r-monitor-function-progress-with-a-progress-bar/
On 14 February 2011 18:32, Scott Chamberlain <myrmecocystus at gmail.com> wrote:
Dear R users, I am curious if someone could direct me towards websites/tutorials for uses of progress bars (especially) in R. I can't seem to figure them out. Thanks very much, Scott ? ? ? ?[[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Nice reference!
I'm on Win 7 32 bits 2.12.0
and the first example fills the R console with ideograms and strange
characters just by doing:
pb <- txtProgressBar(min = 0, max = 20, style = 3)
Bug or feature?
BTW the rest of the example works, as the whole example works on Linux.
Ciao!
mario
On 15-Feb-11 13:41, Laurent Gatto wrote:
'R: Monitoring the function progress with a progress bar' [1] might b helpful. Laurent [1] http://ryouready.wordpress.com/2009/03/16/r-monitor-function-progress-with-a-progress-bar/ On 14 February 2011 18:32, Scott Chamberlain<myrmecocystus at gmail.com> wrote:
Dear R users,
I am curious if someone could direct me towards websites/tutorials for uses of progress bars (especially) in R. I can't seem to figure them out.
Thanks very much, Scott
[[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Ing. Mario Valle Data Analysis and Visualization Group | http://www.cscs.ch/~mvalle Swiss National Supercomputing Centre (CSCS) | Tel: +41 (91) 610.82.60 v. Cantonale Galleria 2, 6928 Manno, Switzerland | Fax: +41 (91) 610.82.82
Dear Mario, See: http://www.mail-archive.com/r-help at r-project.org/msg117622.html This seems to be fixed in version 2.12.1 (at least, I do not get this problem anymore). Best, Wolfgang
From: r-help-bounces at r-project.org [r-help-bounces at r-project.org] On Behalf Of Mario Valle [mvalle at cscs.ch]
Sent: Tuesday, February 15, 2011 2:47 PM
To: mailman, r-help
Subject: Re: [R] txtProgressBar examples?
Sent: Tuesday, February 15, 2011 2:47 PM
To: mailman, r-help
Subject: Re: [R] txtProgressBar examples?
Nice reference!
I'm on Win 7 32 bits 2.12.0
and the first example fills the R console with ideograms and strange
characters just by doing:
pb <- txtProgressBar(min = 0, max = 20, style = 3)
Bug or feature?
BTW the rest of the example works, as the whole example works on Linux.
Ciao!
mario
When using the windows gui I prefer the winProgressBar to the txtProgressBar. It works basically the same, but does not put any characters into the terminal. (there is also tkProgressBar that works on all platforms, but requires the tcltk package).
Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.snow at imail.org 801.408.8111 > -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r- > project.org] On Behalf Of Mario Valle > Sent: Tuesday, February 15, 2011 6:48 AM > To: mailman, r-help > Subject: Re: [R] txtProgressBar examples? > > Nice reference! > > I'm on Win 7 32 bits 2.12.0 > and the first example fills the R console with ideograms and strange > characters just by doing: > pb <- txtProgressBar(min = 0, max = 20, style = 3) > Bug or feature? > > BTW the rest of the example works, as the whole example works on Linux. > Ciao! > mario > > > On 15-Feb-11 13:41, Laurent Gatto wrote: > > 'R: Monitoring the function progress with a progress bar' [1] might b > helpful. > > > > Laurent > > > > [1] http://ryouready.wordpress.com/2009/03/16/r-monitor-function- > progress-with-a-progress-bar/ > > > > > > On 14 February 2011 18:32, Scott Chamberlain<myrmecocystus at gmail.com> > wrote: > >> Dear R users, > >> > >> > >> I am curious if someone could direct me towards websites/tutorials > for uses of progress bars (especially) in R. I can't seem to figure > them out. > >> > >> > >> Thanks very much, Scott > >> [[alternative HTML version deleted]] > >> > >> ______________________________________________ > >> R-help at r-project.org mailing list > >> https://stat.ethz.ch/mailman/listinfo/r-help > >> PLEASE do read the posting guide http://www.R-project.org/posting- > guide.html > >> and provide commented, minimal, self-contained, reproducible code. > >> > > ______________________________________________ > > R-help at r-project.org mailing list > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide http://www.R-project.org/posting- > guide.html > > and provide commented, minimal, self-contained, reproducible code. > > -- > Ing. Mario Valle > Data Analysis and Visualization Group | > http://www.cscs.ch/~mvalle > Swiss National Supercomputing Centre (CSCS) | Tel: +41 (91) > 610.82.60 > v. Cantonale Galleria 2, 6928 Manno, Switzerland | Fax: +41 (91) > 610.82.82 > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting- > guide.html > and provide commented, minimal, self-contained, reproducible code.