我用的时候
library(Hmisc)
Run Code Online (Sandbox Code Playgroud)
我收到以下错误
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : there is no package called 'stringi'
Error: package 'ggplot2' could not be loaded
Run Code Online (Sandbox Code Playgroud)
同样,如果我使用
library(ggplot2)
Run Code Online (Sandbox Code Playgroud)
我收到以下错误
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'
Run Code Online (Sandbox Code Playgroud)
我试过安装'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' …Run Code Online (Sandbox Code Playgroud)