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

时间:2023-02-10 10:39:20

We recently upgraded R on our server from version 3.3.1 to 3.4.1. However, trying to install packages that I usually use (e.g. tidyr) is failing.

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

Version

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

Result when trying to install tidyr

尝试安装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 个解决方案

#1


-1  

Turns out the problem was the server's hard drive was out of space! Did some cleaning and now downloads working as normal :-)

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

#1


-1  

Turns out the problem was the server's hard drive was out of space! Did some cleaning and now downloads working as normal :-)

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