Ad_Feed

Friday, January 20, 2017

Warning Messages in "R" on Mac.

 When starting R (or using any IDE like RStudio), the following warning messages are displayed:
During startup - Warning messages:
1: Setting LC_CTYPE failed, using "C"
2: Setting LC_COLLATE failed, using "C"
3: Setting LC_TIME failed, using "C"
4: Setting LC_MESSAGES failed, using "C"
5: Setting LC_PAPER failed, using "C"
 To clear this error message, following the steps below:
  1. Open terminal and enter:
    defaults write org.R-project.R force.LANG en_US.UTF-8
  2. Restart R or R-studio.