Skip to content

HELP: R for Mac OS 10.9 Mavericks Malfunction

6 messages · Adrian Dusa, Senyo Norgbey, MD, Peter Dalgaard +1 more

#
On Thu, Jul 3, 2014 at 6:09 PM, Senyo Norgbey, MD <sennorg at gmail.com> wrote:
Try opening a Terminal, and type this:

      defaults write org.R-project.R force.LANG en_US.UTF-8

(adjust language options as needed, for me this solved it)

Hope this helps,
Adrian

PS: please note you only need this address "r-sig-mac at r-project.org"
to ask for help
#
Follow instructions in the MacOSX FAQ, section 7(!).

(The "9" in the warning is a relic from an older FAQ document.)

If you  need further guidance open up Terminal.app and tell us what is your equivalent of

Peters-iMac:R pd$ locale
LANG=
LC_COLLATE="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_ALL="en_US.UTF-8"

(i.e. just enter "locale" at the prompt)

-pd
On 03 Jul 2014, at 17:09 , Senyo Norgbey, MD <sennorg at gmail.com> wrote:

            

  
    
3 days later
#
On 07/07/2014 15:12, Senyo Norgbey, MD wrote:
Correct

LC_CTYPE="UTF-8"

That is simply not a locale name.  Given where you are, most likely you want

export LC_CTYPE=en_US.UTF-8

(assuming a bash shell).  But you might also want to find out what you 
did to your poor Mac to get these settings.