-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I disable the progress bar ? #167
Comments
Have you tried Q(..., verbose=FALSE)?
|
Sorry I should have said that I use foreach |
Looks like currently your only option is to Should be as simple as: --- a/R/foreach.r
+++ b/R/foreach.r
@@ -56,7 +56,8 @@ cmq_foreach = function(obj, expr, envir, data) {
data$pkgs = unique(c(data$pkgs, obj$packages))
}
- result = do.call(Q_rows, c(list(df=args_df, fun=fun), data))
+ result = do.call(Q_rows, c(list(df=args_df, fun=fun, verbose=obj$verbose),
+ data))
accum = foreach::makeAccum(it)
accum(result, tags=seq_along(result)) Related: #164 |
Applying the suggested patch above will not only print I'd argue we are not interested in those. I checked whether I could solve this with:
Hence, if you want to suppress the progress bar, you can still wrap your call in |
Hello, is there a way to disable the progress bar , if not would you kindly add an option like options(clustermq.progress = FALSE). I can PR if you point me to it
The text was updated successfully, but these errors were encountered: