On Aug 29, 2012, at 1:13 AM, Brandon Hurr wrote:
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.
I have had similar problems with stuff copied from web postings and
generally solve them by pasting first into an editing session with
TextWrangler and using it's sanitizing functions, Zap Gremlins, IIRC.
I first tried to delete them with TextEdit.app but they proved
remarkably persistent.
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:
--
David Winsemius, MD
Alameda, CA, USA
_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac