Reputation: 21
I am getting the error message above when I open R.
When I attempt to download a package I am also given this error message:
tar: Failed to set default locale
Can anyone tell me how to set a UTF8 locale on R?
Upvotes: 2
Views: 8970
Reputation: 10514
tar: Failed to set default locale
This generally means the locale you have selected (through the LANG and LC_* environment variables is not available on your system).
How you add locales to your systems is distro dependent. On Debian systems you can use "dpkg-reconfigure locales". On Ubuntu I belive it's normally done by installing the corresponding "language pack" package. On other distros I have no idea.
Upvotes: 1