【发布时间】:2017-11-06 07:52:21
【问题描述】:
我们最近将服务器上的 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’
【问题讨论】:
-
Stack Overflow 是一个编程和开发问题的网站。这个问题似乎离题了,因为它与编程或开发无关。请参阅帮助中心的What topics can I ask about here。也许Super User 或Unix & Linux Stack Exchange 会是一个更好的提问地点。
-
我非常不同意你的观点,因为 R 中的包安装非常标准,我认为它属于“程序员常用的软件工具”。此外,当我发布问题时,我的印象是该故障是由新版本的 R 引起的,这将使其成为开发问题。事后看来我错了。感谢您指出其他网站。
标签: r linux install.packages