[ESS] unicode character in aquamacs

Rodney Sparapani rsparapa at mcw.edu
Wed Jul 1 16:06:43 CEST 2009


baptiste auguie wrote:
> 2009/7/1 Stephen Eglen <S.J.Eglen at damtp.cam.ac.uk>
> 
> 
>> What does R say when you type the following:
>>
>>> Sys.getenv('LANG')
>>          LANG
>> "en_GB.UTF-8"
>>
> 
> Interestingly, it says something different in the terminal or in emacs.
> That's probably it then. In the terminal,
> 
> Sys.getenv('LANG')
>          LANG
> "en_GB.UTF-8"
> 
> while from emacs,
> 
> Sys.getenv('LANG')
> LANG
>   ""
> 
> and this is irrespective of whether I use ESS or run R from a buffer in bash
> mode. Indeed, bash within emacs says,
> 
> bash-3.2$locale
> LANG=
> LC_COLLATE="C"
> LC_CTYPE="C"
> LC_MESSAGES="C"
> LC_MONETARY="C"
> LC_NUMERIC="C"
> LC_TIME="C"
> LC_ALL=
> 
> Now why is bash is running differently in emacs is beyond me!
> 
> I've tried adding the correct LANG in ~/.bashrc and /etc/bashrc and
> /etc/profile but still no luck! I have no idea where this bash process
> should get its preferences set.
> 
> Many thanks again,
> 
> baptiste

Hi Baptiste:

This is really not an ESS question.  I believe this has to do with
how you create a default "environment" under OS X.  I'm not going to
say more on this list, but the attachment might give you some ideas
how to fix it.

Rodney
-------------- next part --------------
An embedded message was scrubbed...
From: Rodney Sparapani <rsparapa at mcw.edu>
Subject: Re: Switching from Carbon Emacs to Emacs.app
Date: Thu, 10 Jan 2008 11:20:58 -0600
Size: 2375
URL: <https://stat.ethz.ch/pipermail/ess-help/attachments/20090701/70f4a2de/attachment.mht>


More information about the ESS-help mailing list