无法在R 3.4.1上安装软件包redhat linux

时间:2017-11-06 07:52:21

标签: r linux install.packages

我们最近将服务器上的R从版本3.3.1升级到3.4.1。但是,尝试安装我经常使用的软件包(例如tidyr)会失败。

version                          
platform       x86_64-redhat-linux-gnu     
arch           x86_64                      
os             linux-gnu                   
system         x86_64, linux-gnu           
status                                     
major          3                           
minor          4.1                         
year           2017                        
month          06                          
day            30                          
svn rev        72865                       
language       R                           
version.string R version 3.4.1 (2017-06-30)
nickname       Single Candle

尝试安装tidyr时的结果

install.packages("tidyr")
Installing package into ‘/home/ria.moothilal/R/x86_64-redhat-linux-gnu-        library/3.4’
(as ‘lib’ is unspecified)
also installing the dependency ‘stringi’

trying URL 'https://cran.rstudio.com/src/contrib/stringi_1.1.5.tar.gz'
Content type 'application/x-gzip' length 3645872 bytes (3.5 MB)
==================================================
downloaded 3.5 MB

trying URL 'https://cran.rstudio.com/src/contrib/tidyr_0.7.2.tar.gz'
Content type 'application/x-gzip' length 369542 bytes (360 KB)
==================================================
downloaded 360 KB

ERROR: unable to create ‘/home/ria.moothilal/R/x86_64-redhat-linux-gnu-        library/3.4/stringi’
Warning in install.packages :
installation of package ‘stringi’ had non-zero exit status
ERROR: unable to create ‘/home/ria.moothilal/R/x86_64-redhat-linux-gnu-    library/3.4/tidyr’
Warning in install.packages :
installation of package ‘tidyr’ had non-zero exit status

The downloaded source packages are in
‘/tmp/RtmpRjE7fq/downloaded_packages’ 

1 个答案:

答案 0 :(得分:-1)

原来问题是服务器的硬盘空间不足!一些清洁和现在下载工作正常: - )