[R] R Progress Bar

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Thu Feb 27 02:07:51 CET 2014

I ran the example code in the winProgressBar help file and it ran in normal display mode (not minimized).

Have you run your code in RGui? Those other tools may be affecting winProgressBar.
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
Sent from my phone. Please excuse my brevity.

On February 26, 2014 9:24:35 AM PST, slomanl1 <lsloman at sjm.com> wrote:
>I am running Windows 7 64bit. Running a script on Revolution R or R
>(the behavior is the same.) The sample script reproduces the problem:
>pb <- winProgressBar("test progress bar", "Some information in %",
>                     0, 100, 50)
>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)
>Also, tkProgressBar() behaves the same. 
>View this message in context:
>Sent from the R help mailing list archive at Nabble.com.
>R-help at r-project.org mailing list
>PLEASE do read the posting guide
>and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list