Anders Ekberg wrote:
You can always try to change the encoding, e.g. using TextWrangler and see if that changes anything.
I'm sorry to say I don't how to do this. Do you mean my little bit of code giving me problems or do you mean the entire Lyx file.

If its the former do I change the encoding and paste it back into Lyx. I'm afraid I am over my threshold of understanding here.

However, if I type the commands into an Emacs buffer I get some strange syntax handling

cabbages$Year<-recode(cabbages$Year,'"X2001"="2001;"X2002"="2002"; etc

With the "X2001"="2001" the " and the numbers are pink (including the X) and the = is black the ; is also pink and the ' is black

but in the

"X2002"="2002" this is reversed the " and the ; are still pink but so is the = sign. The X2002 and 2002 are now black, which is the pattern that persists for the rest of the code.


Reply via email to