4

doSNOW can show progressbar like below

How to show the progress of code in parallel computation in R?

is there a way to get progressbar in doParallel?


Update:

below is a minimal reproducible example

library(foreach) library(doParallel) mc <- detectCores() cl <- makeCluster(mc) registerDoParallel(cl) result <- foreach(i = 1:100) %dopar% { rnorm(1000000) %>% sd } stopCluster(cl) 
2
  • You could make a nice question out of it if you'd provide a minimal reproducible example. Commented Sep 18, 2019 at 18:18
  • Historically it has been shown that because doParallel does its "combine" all at the end, it is unlikely to be able to get good progress. stackoverflow.com/a/10982524. It is possible that things have changed since that answer, I'm not aware. Commented Sep 18, 2019 at 18:29

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.