R包的安装错误ERROR: dependency ‘plyr’ is not available for package ‘reshape2’

在Ubuntu 14.04上尝试安装ggplot2时遇到错误,提示依赖包'plyr'不可用。为解决此问题,需要从特定网站下载r-cran-plyr包,并通过命令行进行安装。
摘要由CSDN通过智能技术生成

我在ubuntu14.04上安装ggplot2的时候出现一下错误:

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 pack
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值