[英]Unable to install packages on R 3.4.1 redhat linux
We recently upgraded R on our server from version 3.3.1 to 3.4.1. 我们最近将服务器上的R从3.3.1版本升级到3.4.1。 However, trying to install packages that I usually use (eg tidyr) is failing.
但是,尝试安装我通常使用的软件包(例如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’
Turns out the problem was the server's hard drive was out of space! 原来问题出在服务器的硬盘空间不足! Did some cleaning and now downloads working as normal :-)
做了一些清洁,现在下载正常了:-)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.