小编Mar*_*rta的帖子

loadNamespace(i,c(lib.loc,.libPaths()),versionCheck = vI [[i]])出错:没有名为'stringi'的包

我用的时候

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)

r ggplot2 hmisc stringi

9
推荐指数
1
解决办法
4万
查看次数

标签 统计

ggplot2 ×1

hmisc ×1

r ×1

stringi ×1