简体   繁体   English

在R中安装ggp​​lot2软件包时出错

[英]Error in installing ggplot2 package in R

I am using R 2.14.1 in Ubuntu (over an SSH connection). 我在Ubuntu(通过SSH连接)中使用R 2.14.1。 I can't load the ggplot2 package, every time I do it shows this 我无法加载ggplot2软件包,每次这样做都会显示此信息

ERROR: dependency 'Rcpp' is not available for package 'plyr' removing '/home/amitra/R/x86_64-pc-linux-gnu-library/2.14/plyr' 错误:依赖项“ Rcpp”不适用于软件包“ plyr”,删除“ /home/amitra/R/x86_64-pc-linux-gnu-library/2.14/plyr”

ERROR: dependencies 'plyr', 'Rcpp' are not available for package 'reshape2' removing '/home/amitra/R/x86_64-pc-linux-gnu-library/2.14/reshape2' 错误:依赖项“ plyr”,“ Rcpp”不可用于软件包“ reshape2”,从而删除“ /home/amitra/R/x86_64-pc-linux-gnu-library/2.14/reshape2”

ERROR: dependency 'plyr' is not available for package 'scales' removing '/home/amitra/R/x86_64-pc-linux-gnu-library/2.14/scales' 错误:依赖项“ plyr”不适用于软件包“ scales”,删除“ /home/amitra/R/x86_64-pc-linux-gnu-library/2.14/scales”

ERROR: dependencies 'plyr', 'reshape2', 'scales' are not available for package 'ggplot2' removing '/home/amitra/R/x86_64-pc-linux-gnu-library/2.14/ggplot2' 错误:依赖性'plyr','reshape2','scales'不适用于软件包'ggplot2',删除了'/home/amitra/R/x86_64-pc-linux-gnu-library/2.14/ggplot2'

Need help please. 请需要帮助。

Package Rcpp is only available for R 3.0.0+ . 软件包Rcpp 仅适用于R 3.0.0+ Since other packages, including plyr , depend on Rcpp , the easiest way to fix this is upgrade to R 3.0.0 or greater. 由于其他软件包(包括plyr )都依赖于Rcpp ,解决此问题的最简单方法是升级到R 3.0.0或更高版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM