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
Hi all,
I use txtProgressBar to monitor progress of large computations. What I
miss is the ability to redirect the progress bar to a stream other than
stdout, specifically to the message stream. This would be useful for
running Sweave scripts: When redirected to stderr, the bar could be
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
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
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