0
嗨我試圖安裝twitteR
軟件包,但它給出了錯誤。以前的版本我得到了同樣的錯誤,所以我卸載它並重新安裝R。但我仍然面臨同樣的問題。有人能幫助我嗎。提前致謝。twitteR軟件包安裝失敗
** testing if installed package can be loaded
* DONE (rjson)
* installing *source* package ‘RCurl’ ...
** package ‘RCurl’ successfully unpacked and MD5 sums checked
checking for curl-config... no
Cannot find curl-config
ERROR: configuration failed for package ‘RCurl’
* removing ‘/usr/local/lib/R/site-library/RCurl’
ERROR: dependency ‘RCurl’ is not available for package ‘ROAuth’
* removing ‘/usr/local/lib/R/site-library/ROAuth’
ERROR: dependencies ‘ROAuth’, ‘RCurl’ are not available for package ‘twitteR’
* removing ‘/usr/local/lib/R/site-library/twitteR’
下載的源碼包是 '的/ tmp/RtmpeTWabe/downloaded_packages' 警告信息:
1: In install.packages("twitteR", dep = TRUE) :
installation of package ‘RCurl’ had non-zero exit status
2: In install.packages("twitteR", dep = TRUE) :
installation of package ‘ROAuth’ had non-zero exit status
3: In install.packages("twitteR", dep = TRUE) :
installation of package ‘twitteR’ had non-zero exit status
> library(twitteR)
Error in library(twitteR) : there is no package called ‘twitteR’
> version
_
platform x86_64-pc-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status
major 3
minor 0.2
year 2013
month 09
day 25
svn rev 63987
language R
version.string R version 3.0.2 (2013-09-25)
nickname Frisbee Sailing
nitk @ nitk-OptiPlex-9010:〜$ sudo su [sudo] nitk的密碼: root @ nitk-OptiPlex-9010:/ home/nitk#wget -q http://cran.csiro.au/ src/contrib/liboauth_1.5.tar.gz root @ nitk-OptiPlex-9010:/ home/nitk#sudo R CMD INSTALL liboauth_1.5.tar.gz Warning:invalid package'liboauth_1.5.tar.gz' 錯誤:錯誤:沒有指定包 root @ nitk-OptiPlex-9010:/ home/nitk# – vasu
當我試圖安裝軟件包時,出現了錯誤信息 – vasu
我編輯了我的文章,因此。 – RUser