Re: [Rd] Feature request: txtProgressBar with ability to write to arbitrary stream

2011-03-16 Thread Andreas Borg
Thanks for all the suggestions. However, I was not really looking for a solution but I want to propose this (in my view useful) change to be included in a future version of R. For the time being I will include a modified version in my package. Best regards, Andreas -- Andreas Borg Medizinis

Re: [Rd] Feature request: txtProgressBar with ability to write to arbitrary stream

2011-03-15 Thread Greg Snow
You could use winProgressBar (windows only) or TkProgressBar (tcltk package required) instead, then nothing is output to the console/standard out but you still have a visual of your progress. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.s...@imail.org 80

Re: [Rd] Feature request: txtProgressBar with ability to write to arbitrary stream

2011-03-15 Thread Duncan Murdoch
On 15/03/2011 8:46 AM, Matt Shotwell wrote: Here's a temporary fix; reassign 'cat' in the environment of 'txtProgressBar': tpbEnv<- new.env() assign("cat", function(...) cat(file=stderr(),...), tpbEnv) environment(txtProgressBar)<- tpbEnv I would suggest renaming the function as well. What's

Re: [Rd] Feature request: txtProgressBar with ability to write to arbitrary stream

2011-03-15 Thread Matt Shotwell
Here's a temporary fix; reassign 'cat' in the environment of 'txtProgressBar': tpbEnv <- new.env() assign("cat", function(...) cat(file=stderr(),...), tpbEnv) environment(txtProgressBar) <- tpbEnv Best, Matt On 03/15/2011 05:37 AM, Andreas Borg wrote: Hi all, I use txtProgressBar to monitor