[R-SIG-Mac] Issue with spelling in Aquamacs

johannes rara johannesraja at gmail.com
Wed Sep 23 17:12:12 CEST 2009


Thanks for the response. I set language to german, and my sessioninfo
is shown below. Setting language to german (in Aquamacs) did not
change this behaviour.

> sessionInfo()
R version 2.9.2 (2009-08-24)
i386-apple-darwin8.11.1

locale:
C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

- Johannes

2009/9/23 Prof Brian Ripley <ripley at stats.ox.ac.uk>:
> On Wed, 23 Sep 2009, johannes rara wrote:
>
>> I'm having the same problem with Aquamacs (I'm Aquamacs noob) and R. E.g.
>>
>>> setwd("/Documents/Tämä")
>>
>> Error in setwd("/Documents/T\344m\344") : cannot change working directory
>>
>> Any ideas what's wrong?
>
> You've not (neither of you) told us the 'at a minimum' information required
> in the posting guide, so you have made it unnecessarily difficult to help
> you debug your mistakes.  This is a symptom of sending (e.g.) latin-1 text
> to R running in a UTF-8 locale.  So check sessionInfo() (run in the same way
> you send these commands) and check the encoding of your Aquamacs buffers.
>
> And I suspect you are using ESS to send code from Aquamacs to R, so see the
> R FAQ Q6.1 for where to ask for further help.
>
>
>> -Johannes
>>
>> 2009/9/23 Víctor Manuel García-Guerrero <vicmgg at gmail.com>:
>>>
>>> Hi, I'm quite new using R in Mac OS X and my problem is the follow:
>>>
>>> When I write a word in spanish with accent (e.g. día) or with the letter
>>> "ñ", the Aquamacs output is \386 for accetuated words and . for ñ (even
>>> in
>>> graphics). But when I use R 'alone' it respect such words. For example,
>>> using Aquamacs,
>>>
>>> c("año","día") returns: a.o d\386a
>>>
>>> and the same happens with the graphics.
>>>
>>> Can somebody help me with this issue? Or could you recommend me another
>>> good
>>> R editor that doesn't have this kind of problems?
>>>
>>> Thanks in advance.
>>>
>>> --
>>> Víctor Manuel García-Guerrero
>>> PhD student, CEDUA-COLMEX
>>> Mexico City, Mexico
>>>
>>>        [[alternative HTML version deleted]]
>>>
>>>
>>> _______________________________________________
>>> R-SIG-Mac mailing list
>>> R-SIG-Mac at stat.math.ethz.ch
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>>
>>>
>>
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac at stat.math.ethz.ch
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>
>
> --
> Brian D. Ripley,                  ripley at stats.ox.ac.uk
> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
> University of Oxford,             Tel:  +44 1865 272861 (self)
> 1 South Parks Road,                     +44 1865 272866 (PA)
> Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-SIG-Mac mailing list