I'm using the progress package to show a progress bar in loops. It worked totally fine in RStudio 1.2 on my personal computer. However, in RStudio Server 1.1.456, the progress bar doesn't display properly. It doesn't show up, until the loop finishes and a bar with 100% shows up. Here's an example from progress's documentation:
library(progress)
pb <- progress_bar$new(
format = " downloading [:bar] :percent eta: :eta",
total = 100, clear = FALSE, width= 60)
for (i in 1:100) {
pb$tick()
Sys.sleep(1 / 100)
}
It seems that base R's txtProgressBar works fine, but I'm using the progress bar from progress because it can show eta and time elapsed.