R語言在Linux環境下安裝Curl出錯問題的解決

運行python

install.packages("RCurl")


獲得這樣的結果linux

> I have some problem in running R-cran's Demography package.curl

> The hmd.mx function need Rcurl. I tried to install RCurl, but meet the following error:url

> *********************************************************************spa

> ...code

> * installing *source* package ‘RCurl’ ...rem

> checking for curl-config... noget

> Cannot find curl-configio

> ERROR: configuration failed for package ‘RCurl’function

> * removing ‘/home/z/R/i686-pc-linux-gnu-library/2.12/RCurl’

> ...

> *************************************************************

解決方案:

sudo apt-get install libcurl4-gnutls-dev
相關文章
相關標籤/搜索