当我尝试安装quandl时,它显示此错误消息。任何人都可以帮忙??
> install_github("quandl/R-package")
Downloading GitHub repo quandl/R-package@master
Installing Quandl
Installing 1 packages: stringi
package ‘stringi’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘stringi’
"C:/PROGRA~1/R/R-32~1.2/bin/x64/R" --no-site-file --no-environ --no-save --no-restore CMD INSTALL \
"C:/Users/saikitti/AppData/Local/Temp/RtmpqoWawf/devtools25b4184b2cd/quandl-quandl-r-9182d61" \
--library="C:/Users/saikitti/Documents/R/win-library/3.2" --install-tests
* installing *source* package 'Quandl' ...
** R
** tests
** preparing package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
there is no package called 'stringi'
ERROR: lazy loading failed for package 'Quandl'
* removing 'C:/Users/saikitti/Documents/R/win-library/3.2/Quandl'
Error: Command failed (1)
答案 0 :(得分:2)
您错过了Depends:
:
there is no package called 'stringi'
但是Quandl正在使用CRAN,那你为什么不进行install.packages("Quandl")
?