Skip to content
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 bars #17

hadley opened this issue Jul 19, 2012 · 2 comments


Copy link

commented Jul 19, 2012

Possible in principle, but currently make it very easy to crash R.

down_progress <- function() {
  bar <- NULL

  function(down, up) {
    total <- down[1]
    if (total == 0) {

    current <- down[2]
    if (is.null(bar)) {
      bar <<- txtProgressBar(max = total)
    setTxtProgressBar(bar, current)
prg <- config(noprogress = 0L, progressfunction = down_progress())
x <- GET("", prg)
x <- GET("", prg)

This comment has been minimized.

Copy link

commented Mar 10, 2014


This comment has been minimized.

Copy link
Member Author

commented Jun 9, 2014

Can't do safely (i.e. without risking of crashing R) until omegahat/RCurl#10 is fixed.

@hadley hadley closed this in 578144c Jun 9, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.