purrr icon indicating copy to clipboard operation
purrr copied to clipboard

Progress bar to reduce

Open totvi opened this issue 10 months ago • 2 comments

Would it be possible to add .progress as an argument to reduce (and relatives, e.g., accumulate and reduce2)? Some times you may use reduce in stead of map_dfr to achieve similar output, but the former doesn't provide options for progress bar.

totvi avatar Jan 30 '25 12:01 totvi

Seconding this! :)

samuel-marsh avatar Feb 25 '25 15:02 samuel-marsh

I think it would be posisble, although it might be tricky to do it as performantly as with map() since there the progress bar (and the iteration) is implemented in C.

hadley avatar Aug 18 '25 01:08 hadley