我想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 Mint(17.1).我安装了R版3.0.2.但是,当我尝试安装软件包xslsx或dplyr时,系统会说这些软件包不适用于我的R版本,并且应该安装在R 3.1.2版本上.我一直试图从所有可能的方式升级R,但我没有取得成功.有人遇到过同样的问题吗?