progressr icon indicating copy to clipboard operation
progressr copied to clipboard

Progress bar in RStudio Background Job

Open dominicroye opened this issue 4 months ago • 7 comments

I use a progress bar for my function in future_map() running as a background job in RStudio. It works with enable = TRUE, but is it possible to avoid repeating the bar each update?

  progressr::handlers("cli")
  progressr::with_progress({
    p <- progressr::progressor(steps = mod_len)
    furrr::future_map(1:mod_len, .function_, p = p)
    
  }, enable = TRUE)

image

dominicroye avatar Oct 14 '24 13:10 dominicroye