-
Notifications
You must be signed in to change notification settings - Fork 1k
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
progress indicator/bar for "by" operations #3060
Comments
Dupe of closed #1409 I manually add progress-printers when I see an operation going slowly, but it'd be nice if it were automatic whenever time > 30 s as you suggest. |
Related: #3050 |
@franknarf1 agree with Frank, but lets print it only for |
I've been thinking about this, and ideally I'd like to see the following information:
|
last part can be triggered if there are less than n groups... sounds great
overall
…On Wed, Sep 26, 2018, 5:00 AM eduard ***@***.***> wrote:
I've been thinking about this and ideally I'd like to see the following
information:
- number of groups processed
- total number of groups or groups remaining
- time elapsed
- total predicted time or time remaining
- maybe current group (but I'm not sure how you'd do this without
creating a mess)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3060 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHQQdXIQHM64Jhzg-TKGjYwOWtQU0SDOks5uepmGgaJpZM4W0VV6>
.
|
I too would like this as an opt-in feature of data.table. In the meantime, here's a code snippet to manually add a progress bar with a percentage, given a data table
|
|
the same can be said of the progress bar for fread/fwrite right? at least w.r.t. the overhead concern |
You could use |
Time estimation, once we start to evaluate |
Having to turn it on explicitly with an argument, like |
What would be the best way to opt-in to this feature? I was wondering what something like |
I imagine a typical call would look like |
I frequently run
by
operations that take minutes and sometimes hours to complete. To deal with the uncertainty of what's going on, I often resort to printing.BY
in the i-expression:Would be great to have an automatic progress bar for these, similar to
fread
, if the expected run time is greater than e.g. 30s. Expected run time can be estimated from actual average time spent running the i-expression for eachby
item so far * number of remainingby
items.The text was updated successfully, but these errors were encountered: