[R-SIG-Mac] [R] character set problem
Bert Gunter
bgunter@4567 @end|ng |rom gm@||@com
Tue Feb 19 20:37:38 CET 2019
Oops, you already seem to have done this! My bad.
-- Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Tue, Feb 19, 2019 at 11:36 AM Bert Gunter <bgunter.4567 using gmail.com> wrote:
> You might try posting this on r-sig-mac if you don't get resolution here.
>
> -- Bert
>
> Bert Gunter
>
> "The trouble with having an open mind is that people keep coming along and
> sticking things into it."
> -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
>
>
> On Tue, Feb 19, 2019 at 10:55 AM bretschr <bretschr using xs4all.nl> wrote:
>
>> Dear R-users,
>>
>>
>> Last week I installed R 3.5.2 on a new MacBook Air.
>>
>> I got error messages for the wrong locale (character set).
>> And simple math proved not to work:
>> Upon typing this, I got:
>> > 2ˆ2
>> Error: unexpected input in "2À"
>> >
>>
>> The character visible as a caret is apparently coded as something very
>> different.
>>
>> Then I changed things according to the FAQ, chapter 7, (switching all
>> settings to English),
>> and executed the recommended line:
>>
>> defaults write org.R-project.R force.LANG en_US.UTF-8
>>
>> The error messages disappeared, but the problem remained.
>>
>> A fresh install of R 3.5.2 also didn't help:
>>
>> Here its startup messages, then a line testing the caret:
>>
>> > R version 3.5.2 (2018-12-20) -- "Eggshell Igloo"
>> > Copyright (C) 2018 The R Foundation for Statistical Computing
>> > Platform: x86_64-apple-darwin15.6.0 (64-bit)
>> >
>> > R is free software and comes with ABSOLUTELY NO WARRANTY.
>> > You are welcome to redistribute it under certain conditions.
>> > Type 'license()' or 'licence()' for distribution details.
>> >
>> > Natural language support but running in an English locale
>> >
>> > R is a collaborative project with many contributors.
>> > Type 'contributors()' for more information and
>> > 'citation()' on how to cite R or R packages in publications.
>> >
>> > Type 'demo()' for some demos, 'help()' for on-line help, or
>> > 'help.start()' for an HTML browser interface to help.
>> > Type 'q()' to quit R.
>> >
>> > [R.app GUI 1.70 (7612) x86_64-apple-darwin15.6.0]
>> >
>> > [History restored from /Users/fb/.Rapp.history]
>> >
>> >> 2ˆ2
>> > Error: unexpected input in "2À"
>> >>
>>
>>
>>
>> Does anyone know how to get R (R.app) to interpret a caret as a caret?
>>
>> Thanks in advance,
>>
>>
>>
>> Franklin Bretschneider
>> Utrecht University
>> Utrecht, The Netherlands
>>
>> ______________________________________________
>> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>
[[alternative HTML version deleted]]
More information about the R-SIG-Mac
mailing list