Adds a progress bar to mclapply() using echo to output to the console in
Rstudio or Linux environments. Simply replace your original call to mclapply()
with pmclapply().
A progress bar can also be displayed with parallelisation via the foreach
package.
Also included are functions to safely print messages (including error messages)
from within parallelised code. This can be very useful for debugging
parallelised R code.
mcprogress
Adds a progress bar to
mclapply()usingechoto output to the console in Rstudio or Linux environments. Simply replace your original call tomclapply()withpmclapply().A progress bar can also be displayed with parallelisation via the
foreachpackage.Also included are functions to safely print messages (including error messages) from within parallelised code. This can be very useful for debugging parallelised R code.
Installation
Install direct from Github.
Example
Another example using the
foreachpackage withdoMCbackend.