[R] R Progress Bar
slomanl1
lsloman at sjm.com
Wed Feb 26 18:24:35 CET 2014
I am running Windows 7 64bit. Running a script on Revolution R or R Studio
(the behavior is the same.) The sample script reproduces the problem:
pb <- winProgressBar("test progress bar", "Some information in %",
0, 100, 50)
Sys.sleep(0.5)
u <- c(0, sort(runif(20, 0, 100)), 100)
for(i in u) {
Sys.sleep(0.1)
info <- sprintf("%d%% done", round(i))
setWinProgressBar(pb, i, sprintf("test (%s)", info), info)
}
Sys.sleep(5)
close(pb)
Also, tkProgressBar() behaves the same.
--
View this message in context: http://r.789695.n4.nabble.com/R-Progress-Bar-tp4685847p4685875.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list