Re: [R] Waiting bar

2008-01-30 Thread Henrik Bengtsson
For text-based progress bars see the ProgressBar class in R.utils, e.g. # A "faster" progress bar with default step length 1.4. pb <- ProgressBar(max=42, stepLength=1.4) reset(pb) while (!isDone(pb)) { x <- rnorm(3e4) increase(pb) Sys.sleep(0.02) } cat("\n") Output: [.|.|

[R] Waiting bar

2008-01-30 Thread tintin_et_milou
Hi, I would like to know if it is possible to generate a waiting bar in R when you execute your programs like in Matlab, to make the program more living. Particularly for the loops, it can be useful to know how many time left... Thanks in advance, Loïc Joffre -- View this message in context: