[R] task percentage completion
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue Apr 30 11:51:29 CEST 2013
On 30/04/2013 10:40, Fabio Berzaghi wrote:
> Dear All,
>
> Is it possible to add a percentage completion bar to R? I find it
> frustrating when running long calculations that I don't know at what
> point the process is. It would be very helpful so I am not guessing if I
> should wait a few minutes or hours.
Yes. See ??progressbar
And this does need some knowledge from the programmer: no way can anyone
know how long a task will take without either
- a pretty complete (and correct) analysis
- trying it.
People inadvertently write loops where step i takes time proportional to
i, so extrapolation from a pilot study does not suffice.
>
> ______________________________________________
> 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.
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list