[R] task percentage completion
R. Michael Weylandt
michael.weylandt at gmail.com
Wed May 1 14:54:48 CEST 2013
On Wed, May 1, 2013 at 12:19 PM, Fabio Berzaghi <fabe at dmu.dk> wrote:
> so in other words there is no easy way of doing this?
That's not what I said.
It's easy to make a progress bar if you use plyr:e.g.,
ddply(baseball, .(id), mutate, career_year = year - min(year) + 1,
.progress = "time")
Our cautions were against taking it all too seriously.
> I don't want to spend too much time figure out how this progress bar works.
> I am not clear if the code should run in the main R or where.
> On 4/30/2013 13:11, R. Michael Weylandt wrote:
>> On Tue, Apr 30, 2013 at 10:40 AM, Fabio Berzaghi <fabe at dmu.dk> 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
>>> the process is. It would be very helpful so I am not guessing if I should
>>> wait a few minutes or hours.
>> I believe recent-ish versions of the plyr package include this
>> feature. Note, however, Prof Ripley's caution: it's not as trivial as
>> it might seem to do so _accurately_. With a bit of squinting, one
>> might even see the halting problem...
>> Obligatory: http://xkcd.com/612/
More information about the R-help