R包的安装错误ERROR: dependency ‘plyr’ is not available for package ‘reshape2’
2015-09-05 14:15
393 查看
我在ubuntu14.04上安装ggplot2的时候出现一下错误:
去这个网站https://launchpad.net/ubuntu/vivid/+package/r-cran-plyr下载r-cran-plyr包,通过如下代码安装:
ERROR: dependency ‘plyr’ is not available for package ‘reshape2’ * removing ‘/home/wq/R/x86_64-pc-linux-gnu-library/3.0/reshape2’ Warning in install.packages : installation of package ‘reshape2’ had non-zero exit status ERROR: dependency ‘plyr’ is not available for package ‘scales’ * removing ‘/home/wq/R/x86_64-pc-linux-gnu-library/3.0/scales’ Warning in install.packages : installation of package ‘scales’ had non-zero exit status ERROR: dependencies ‘plyr’, ‘reshape2’, ‘scales’ are not available for package ‘ggplot2’ * removing ‘/home/wq/R/x86_64-pc-linux-gnu-library/3.0/ggplot2’ Warning in install.packages : installation of package ‘ggplot2’ had non-zero exit status The downloaded source packages are in ‘/tmp/RtmpgbMDf6/downloaded_packages’从头看,原来是plyr包没有安装,接下来安装plyr包,有
ERROR: dependency ‘plyr’ is not available for package ‘reshape2’ * removing ‘/home/wq/R/x86_64-pc-linux-gnu-library/3.0/reshape2’ Warning in install.packages : installation of package ‘reshape2’ had non-zero exit status The downloaded source packages are in ‘/tmp/RtmpgbMDf6/downloaded_packages’最后我找到了解决办法,将包下载下来,然后自己安装。
去这个网站https://launchpad.net/ubuntu/vivid/+package/r-cran-plyr下载r-cran-plyr包,通过如下代码安装:
setwd("/path/where/I/downloaded/the/compressed/file") install.packages("plyr", repos=NULL)ggplot2就通过正常的安装(install.packages("ggplot2")就可以了
相关文章推荐
- cat head tail
- 系统虚拟内存的理解 转载自http://blog.csdn.net/do2jiang/article/details/4690967
- didFailWithError: Error Domain=kCLErrorDomain Code=0 “The operation couldn’t be completed. (kCLError
- 收藏的人工智能相关网站
- Rails之美
- Rails常用命令整理
- AI (Adobe Illustrator)详细用法(五)
- 用Rails-2.1.6搭建一个web项目的步骤(修正)
- 人工智能学习(链接)
- CentOS6.5上简易搭建Postfix、Dovecot、Sasl、OPenwebmail局域网邮件服务器以及DNS服务器
- HDU-5240 Exam The 2015 ACM-ICPC China Shanghai Metropolitan Programming Contest
- Design Pattern Explained 读书笔记五——Bridge
- hdu 2476 String painter(区间DP)
- AI (Adobe Illustrator)详细用法(四)
- YUM安装遇到问题:File"/usr/bin/yum", line 29, in <module> File"/usr/share/yum-cli/yummain.py", line 276, in
- Codeforces Gym 100340I Longest Common Subpair 字符串DP
- 关于 void main 和 int main
- poj2010Moo University - Financial Aid
- 第8章(2) 进程控制 -函数wait和waitpid
- hdu 1104 Remainder(BFS+数论)