Interestingly, if I start an R session with typing in the console, this 
phenomenon does not happen.... i.e. it seems to be linked to sending data from 
the script to console, and perhaps on Lion/Mountain Lion? 

Andrew
---------------------------------------------------------------------------
Dr. Andrew Beckerman
Department of Animal and Plant Sciences, University of Sheffield, 
Alfred Denny Building, Western Bank, Sheffield S10 2TN, UK
ph +44 (0)114 222 0026; fx +44 (0)114 222 0002 
http://www.beckslab.staff.shef.ac.uk/

co-Editor-in-Chief, Ecology and Evolution

See our new R Book: http://www.r4all.org

http://www.flickr.com/photos/apbeckerman/
http://www.warblefly.co.uk
--------------------------------------------------------------------------



Sent with Sparrow (http://www.sparrowmailapp.com)


On Thursday, 29 November 2012 at 22:56, David Winsemius wrote:

> 
> 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
> 
> 



        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to