I'm having strange problems with R after updating to OsX Mojave.
When I start up a RStudio project I get:
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_MONETARY failed, using "C"
Than, if I source()
R files raise an error if I don't remove the encoding = 'UTF-8'
option if there are non-english characters like accented vowels.
Finally, the same characters if I use the View function get encoded, so àèòù
become <c3><a0><c3><a8><c3><b2><c3><b9>
How can I solve this? it's pretty annoying expecially when save/sourcing R files from RStudio, since it puts encoding = 'UTF-8'
by default.