Skip to content
Prev 39452 / 63424 Next

Feature request: txtProgressBar with ability to write to arbitrary stream

On 15/03/2011 8:46 AM, Matt Shotwell wrote:
I would suggest renaming the function as well.  What's done above 
creates a new function called txtProgressBar, it doesn't modify the 
original one, so depending on scoping issues it may appear to only work 
sometimes.  But if you did

stderrProgressBar <- txtProgressBar
environment(stderrProgressBar) <- tpbEnv

you'll get clear messages if it is out of scope when you try to use it.

Duncan Murdoch