The grey color is output on stdout, typically it is a solicited output of
system commands, for example try
> system("date")
Mon Dec 17 11:36:56 EST 2012
>
The date will be in gray because the "date" command will print it out there so
the GUI passes it on. It's not necessarily R.app itself generating that output.
Now the big question is who is creating that output - it can be anything from
3rd party hacks to R or custom top-level code used by the user. I don't see any
printf/puts in the GUI code so it's unlikely produced by the GUI itself. I'll
see if I can reproduce it ..
Cheers,
Simon
On Dec 15, 2012, at 12:12 AM, Earl Brown wrote:
> When I run code in R.app, in addition to getting the results I expect, the
> console also randomly prints out previously submitted code and places it
> before the prompt arrow and/or before the output of what my code asks R to
> do. The color of this random, unwanted output is gray. This doesn't happen
> when I run my code in R in a Terminal window, nor did it happen before I
> upgraded to R 2.15.2 and R.app 1.53 a few days ago. Take a look at the two
> attached screen shots, one of R.app and the other of Terminal running the
> same code. And here's my sessionInfo():
>
>> sessionInfo()
> R version 2.15.2 (2012-10-26)
> Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
>
> locale:
> [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
>
> attached base packages:
> [1] stats graphics grDevices utils datasets methods base
>
> Any ideas? Thanks, Earl Brown
>
> -----
> Earl K. Brown, PhD
> Assistant Professor of Spanish Linguistics
> Advisor, TEFL MA Program
> Department of Modern Languages
> Kansas State University
>
> <Screen Shot 2012-12-14 at 10.53.49 PM.png><Screen Shot 2012-12-14 at
> 10.54.14 PM.png>_______________________________________________
> R-SIG-Mac mailing list
> [email protected]
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac