[R-SIG-Mac] "¬" in Script Editor

Brandon Hurr bhive01 at gmail.com
Wed Aug 29 10:13:27 CEST 2012


I've been noticing lately some weirdness in the editor when copying
and pasting code.

Last night when I was trying to run some code from the ggplot2 mailing
list I pasted the code in from gmail. As usual, there were extra line
breaks that caused the code to fail.

I pasted the code into the script editor to fix the line breaks and
then copy/pasted it into R-GUI. I then got a lot more errors than I
did previously, all of which were caused by the insertion of an
invisible "¬" symbol (a logical not).

Here: https://plus.google.com/116319893425910717496/posts/5Yxkk7GFwts
is a screen shot.

The code in question is from this question:
https://groups.google.com/forum/?fromgroups=#!topic/ggplot2/BxSDoDjJgSA
... but this has happened before a few times (I cannot recall when it
started, recently... perhaps since installing ML, but maybe before
that). If I hit up to input the previous previous command the "¬" are
not there and when I search in the editor for this symbol nothing is found.

Is there something going on with the editor or the clipboard or ...?
Where should I be looking?

Brandons-MacBook-Air:~ bhurr$ system_profiler SPSoftwareDataType
Software:

    System Software Overview:

      System Version: OS X 10.8.1 (12B19)
      Kernel Version: Darwin 12.1.0
      Boot Volume: AIR
      Boot Mode: Normal
      Time since boot: 54 minutes

> sessionInfo()
R version 2.15.1 (2012-06-22)
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] grid      stats     graphics  grDevices utils     datasets
methods   base

other attached packages:
 [1] gplots_2.11.0     MASS_7.3-18       KernSmooth_2.23-7
caTools_1.13      bitops_1.0-4.1
 [6] gdata_2.11.0      gtools_2.7.0      lattice_0.20-6
gridBase_0.4-5    TeachingDemos_2.8
[11] plyr_1.7.1        reshape2_1.2.1    ggplot2_0.9.1

loaded via a namespace (and not attached):
 [1] colorspace_1.1-1   dichromat_1.2-4    digest_0.5.2
labeling_0.1       memoise_0.1
 [6] munsell_0.3        proto_0.3-9.2      RColorBrewer_1.0-5
scales_0.2.1       stringr_0.6
[11] tools_2.15.1



More information about the R-SIG-Mac mailing list