开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜