Use a waitress progress bar with httr requests. Simply use httr_progress where you would use httr::progress.

httr_progress(object, type = c("down", "up"), pre = NULL, post = NULL)

Arguments

object

The waitress or attendant object.

type

Type of progress to display: either number of bytes uploaded or downloaded. Passed to httr::progress.

pre, post

Pre and callback functions to run before the progress starts or once it is done.

Examples

if (FALSE) { cap_speed <- httr::config(max_recv_speed_large = 10000) httr::GET( "http://httpbin.org/bytes/102400", httr_progress(w), cap_speed ) }