R error You're using a non-UTF8 locale, therefore only ASCII characters will work
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:开发者_JAVA技巧
tar: Failed to set default locale
Can anyone tell me how to set a UTF8 locale on R?
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.
精彩评论