[R-SIG-Mac] phantom text in console with R 2.15.2

David Winsemius dwinsemius at comcast.net
Thu Nov 29 23:56:06 CET 2012


On Nov 27, 2012, at 9:47 AM, Andrew Beckerman wrote:

> A few weeks ago, Dan Rabosky posted a query about phantom text. 
> 
> https://stat.ethz.ch/pipermail/r-sig-mac/2012-November/009718.html
> 
> I am having a similar issue - using the cmd-Return key combo from the script to the console often generates grey text BEFORE the prompt. 
> 
> For example, below, the first test<-rnorm(10,0,1) is generated in the console, then printed by typing in the console, three times.  
> 
> The fourth test <- rnorm(10,0,1) is cmd-Returned from a script, generating the new pre-prompt-text.  
> 
> I can generate a variant of this behaviour at start-up of R every time.
> 
> OSX 10.8.2 Macbook OR MacPro both with R 2.15.2 (64 bit) R.app 1.53 (6335).
> 
>> test<-rnorm(10,0,1)
>> test
> [1]  0.25936761  0.04522577 -0.62494471 -0.87426290  1.31470309 -0.37134371 -0.03225490  0.02028375
> [9] -0.50492015 -0.74642678
>> test
> [1]  0.25936761  0.04522577 -0.62494471 -0.87426290  1.31470309 -0.37134371 -0.03225490  0.02028375
> [9] -0.50492015 -0.74642678
>> test
> [1]  0.25936761  0.04522577 -0.62494471 -0.87426290  1.31470309 -0.37134371 -0.03225490  0.02028375
> [9] -0.50492015 -0.74642678
>> test<-rnorm(10,0,1)
> testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttest> test
> [1]  1.4110371  0.3789288  0.4476112  0.3928953  1.1313824  0.3370125 -0.4822913 -0.4033394 -0.1841501
> [10]  0.4896509

I'm not able to reproduce this in 2.15.2 running R.app GUI 1.53 (6335) in Snow Leopard, but in an earlier session I did observe the ghost-text phenomenon. In my case it was a column of numbers interrupted by the name of a dataframe that did not happen to be loaded at the time, but was referenced in an source document that was being edited using the GUI facilities.

-- 

David Winsemius, MD
Alameda, CA, USA



More information about the R-SIG-Mac mailing list