无法安装 rvest 包 [英] unable to install rvest package
本文介绍了无法安装 rvest 包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要为 R 版本 3.1.2 (2014-10-31) 安装 rvest 包
I need to install rvest package for R version 3.1.2 (2014-10-31)
我收到这些错误:
checking whether the C++ compiler supports the long long type... no
*** stringi cannot be built. Upgrade your C++ compiler's settings
ERROR: configuration failed for package ‘stringi’
* removing ‘/usr/local/lib64/R/library/stringi’
ERROR: dependency ‘stringi’ is not available for package ‘stringr’
* removing ‘/usr/local/lib64/R/library/stringr’
ERROR: dependency ‘stringr’ is not available for package ‘httr’
* removing ‘/usr/local/lib64/R/library/httr’
ERROR: dependency ‘stringr’ is not available for package ‘selectr’
* removing ‘/usr/local/lib64/R/library/selectr’
ERROR: dependencies ‘httr’, ‘selectr’ are not available for package ‘rvest’
* removing ‘/usr/local/lib64/R/library/rvest’
关于如何安装 R 包 rvest 的任何想法?
Any ideas on how I could install R package rvest?
推荐答案
我能够像这样构建 stringi 包:
I was able to build the stringi package as this:
install.packages('stringi', configure.args='--disable-cxx11')
这篇关于无法安装 rvest 包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文