小编Jim*_*ien的帖子

R 3.0.2上的install.packages("devtools")在Ubuntu 14.04中失败

我想devtools在Ubuntu 14.04上安装R 3.0.2 软件包,如下所示:

install.packages("devtools")
Run Code Online (Sandbox Code Playgroud)

我得到以下结果:

Installing package into ‘/home/jim/R/x86_64-pc-linux-gnu-library/3.0’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
Warning: dependency ‘xml2’ is not available
also installing the dependency ‘rversions’

trying URL 'http://cran.rstudio.com/src/contrib/rversions_1.0.1.tar.gz'
Content type 'application/x-gzip' length 4624 bytes
opened URL
==================================================
downloaded 4624 bytes

trying URL 'http://cran.rstudio.com/src/contrib/devtools_1.8.0.tar.gz'
Content type 'application/x-gzip' length 141487 bytes (138 Kb)
opened URL
==================================================
downloaded 138 Kb

ERROR: dependency ‘xml2’ is not available for package ‘rversions’ …
Run Code Online (Sandbox Code Playgroud)

linux ubuntu r

17
推荐指数
2
解决办法
2万
查看次数

标签 统计

linux ×1

r ×1

ubuntu ×1