Skip to content

txtProgressBar strange behavior in R 2.12.0

3 messages · Jalla, Viechtbauer Wolfgang (STAT), Brian Ripley

#
Hi,
I am running R 2.12.0 (windows).

example(txtProgressBar)

gives me some funny screen output with all kinds of special characters
appearing and disappearing. It's happening on two different mashines since
vs. 2.12.0. Is this a known issue?

Best, 
Jalla
1 day later
#
I believe nobody has responded to far, so maybe this is not a wide-spread issue. However, I have also encountered this since upgrading to R 2.12.0 (Windows 7, 64-bit). In my simulations where I use txtProgressBar(), the problem usually disappears after the bar has progressed to a certain amount, but it's quite strange nonetheless. The characters that appear are gibberish and include some Asian symbols. Here is a screenshot:

http://www.wvbauer.com/screenshot.jpg

sessionInfo():

R version 2.12.0 (2010-10-15)
Platform: x86_64-pc-mingw32/x64 (64-bit)

locale:
[1] LC_COLLATE=English_United States.1252 
[2] LC_CTYPE=English_United States.1252   
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

No idea what could be causing this. 

Best,
2 days later
#
I've seen it, but not reliably enough to reproduce.

The issue is that there isn't really support for '\r' (CR) in Rgui, 
and so it was sometimes getting junk characters.

However, I think that this is probably fixed in R-patched >= r53662, 
so please try an update in a day or two.
On Mon, 22 Nov 2010, Viechtbauer Wolfgang (STAT) wrote: