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
> 


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)


        [[alternative HTML version deleted]]

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

Reply via email to