over 2 years ago

R的安装还是很简单的,在cran上找到下载连接,然后下载安装包就好了。同样,安装后续的Rstudio也是如此。将两个软件都安装好后,试着在Rstudio里安装第三方的Library时,命令行里总是报错:

Solving R error "tar: Failed to set default locale" in Mac OS X
write the following in terminal

有高人给出了解决方法,打开Mac的Terminal,然后输入下面这个命令就好了:

defaults write org.R-project.R force.LANG en_US.UTF-8
← 前端开发必备的Sublime 3插件 R 将类别转化为数字 →
 
comments powered by Disqus