Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/75.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/blackberry/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
R 所有ggplot2命令中出现异常错误_R_Ggplot2 - Fatal编程技术网

R 所有ggplot2命令中出现异常错误

R 所有ggplot2命令中出现异常错误,r,ggplot2,R,Ggplot2,我甚至无法想象我是如何以及为什么从ggplot包中的任何命令接收所有这些输出的,我已经尝试重新安装R包,但到目前为止没有任何效果 > library(ggplot2) > qplot(x=1:10, y=1:10) The following `from` values were not present in `x`: col, color, pch, cex, lty, lwd, srt, adj, bg, fg, min, max The following `from` val

我甚至无法想象我是如何以及为什么从ggplot包中的任何命令接收所有这些输出的,我已经尝试重新安装R包,但到目前为止没有任何效果

> library(ggplot2)
> qplot(x=1:10, y=1:10)
The following `from` values were not present in `x`: col, color, pch, cex, lty, lwd, srt, adj, bg, fg, min, max
The following `from` values were not present in `x`: col, color, pch, cex, lty, lwd, srt, adj, bg, fg, min, max
The following `from` values were not present in `x`: col, color, pch, cex, lty, lwd, srt, adj, bg, fg, min, max
The following `from` values were not present in `x`: col, color, pch, cex, lty, lwd, srt, adj, bg, fg, min, max
The following `from` values were not present in `x`: col, color, pch, cex, lty, lwd, srt, adj, bg, fg, min, max
这是我的会话信息

> sessionInfo()
R version 2.15.2 (2012-10-26)
Platform: x86_64-w64-mingw32/x64 (64-bit)

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252   
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] ggplot2_0.9.3

loaded via a namespace (and not attached):
 [1] colorspace_1.2-0   dichromat_1.2-4    digest_0.6.0       grid_2.15.2        gtable_0.1.2      
 [6] labeling_0.1       MASS_7.3-22        munsell_0.4        plyr_1.8           proto_0.3-9.2     
[11] RColorBrewer_1.0-5 reshape2_1.2.2     scales_0.2.3       stringr_0.6.2      tools_2.15.2 

重新安装
ggplot2 0.9.3
form
UK(伦敦)
mirror解决了这个问题。

这是从一个干净的R(
--vanilla
)R会话中得到的吗?您是否尝试过安装.packages(ggplot2,depend=TRUE)?我有
grid
v2.16.0。。。由于这是全新版本的
ggplot2
,可能还有其他一些包不匹配?这有帮助吗?是的,我正在运行香草
R
会话。我试图安装依赖项,但似乎没有成功。我知道你提供的链接中的信息,但它并没有真正回答我的问题,因为在我的案例中,
ggplot2
plyr
都不在开发版本中。好的,我刚刚更新到
plyr
1.8(从1.7.1开始),并且能够重现你的问题(Ubuntu 12.04)。听起来是时候发布bug/issues报告了…@hadley:即使重新安装也会再次产生同样的错误。