[ESS] unicode character in aquamacs

Stephen Eglen S.J.Eglen at damtp.cam.ac.uk
Tue Jun 30 00:17:13 CEST 2009


baptiste auguie <baptiste.auguie at googlemail.com> wrote:

> Dear list,
> 
> The following code returns an error when I send it from aquamacs, on Mac
> OSX,
> 
> plot(1, main=expression("\u03B3"))
> Error: invalid \uxxxx sequence (line 1)
> 
> while it works fine in a terminal or in R.app. I have no idea how to
> fix this problem.

I see similar behaviour on my Emacs running on OSX.  On my set up at
least the problem is because the shell variable LANG is not set within
Emacs.

To see if that is the case for you, try the following to start
Emacs:

$ LANG=en_GB.UTF-8 emacs

and then within emacs, try M-x R and it should work.  

Stephen



More information about the ESS-help mailing list