我尝试使用命令
安装devtool软件包install.packages('devtools')
我得到以下输出:
ERROR: dependency âxml2â is not available for package ârversionsâ
* removing â/usr/local/lib/R/site-library/rversionsâ
ERROR: dependency ârversionsâ is not available for package âdevtoolsâ
* removing â/usr/local/lib/R/site-library/devtoolsâ
The downloaded source packages are in
â/tmp/RtmprD4FpZ/downloaded_packagesâ
Warning messages:
1: In install.packages("devtools") :
installation of package ârversionsâ had non-zero exit status
2: In install.packages("devtools") :
installation of package âdevtoolsâ had non-zero exit status
如何添加这些缺少的依赖项?或者我做错了什么?
我的平台/版本详情:
R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"
Copyright (C) 2013 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)