Mar*_*rta 9 r ggplot2 hmisc 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)
我正在使用RStudio(版本0.99.447),我有R版本3.2.1.
小智 10
我在尝试加载漩涡包时遇到了这个错误.
您可以尝试直接从cran重新安装包,并包含一个参数以确保包含所有依赖包.
install.packages("swirl", repos="http://cran.rstudio.com/", dependencies=TRUE)
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
38155 次 |
| 最近记录: |