当我使用
library(Hmisc)
我收到以下错误
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : there is no package called 'stringi'
Error: package 'ggplot2' could not be loaded
同样,如果我使用
library(ggplot2)
我收到以下错误
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : there is no package called 'stringi'
Error: package or namespace load failed for 'ggplot2'
我尝试安装'stringi' install.packages("stringi")
但是在某些时候,在安装过程中,我收到以下错误消息:
configure: error: in `/private/var/folders/pr/wdr5dvjj24bb4wwnjpg1hndc0000gr/T/RtmpeQ5pXk/R.INSTALL10b94a012cab/stringi':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
ERROR: configuration failed for package 'stringi'
* removing '/Library/Frameworks/R.framework/Versions/3.2/Resources/library/stringi'
我正在使用 RStudio(版本 0.99.447)并且我有 R 版本 3.2.1。