R ggplot2:为什么我会得到这个错误;f(…,self=self)中出错:是否尝试应用非函数;?

R ggplot2:为什么我会得到这个错误;f(…,self=self)中出错:是否尝试应用非函数;?,r,ggplot2,R,Ggplot2,我正试着测试这个包 不幸的是,我在运行下面的命令时出错。 为什么会出现这个错误 R version 3.2.4 Revised (2016-03-16 r70336) -- "Very Secure Dishes" Copyright (C) 2016 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 (64-bit) R is free software and comes with ABS

我正试着测试这个包

不幸的是,我在运行下面的命令时出错。 为什么会出现这个错误

R version 3.2.4 Revised (2016-03-16 r70336) -- "Very Secure Dishes"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> require(ggbeeswarm)
Loading required package: ggbeeswarm
Loading required package: ggplot2
Warning messages:
1: package ‘ggbeeswarm’ was built under R version 3.2.5 
2: package ‘ggplot2’ was built under R version 3.2.5 
> ggplot(iris,aes(Species, Sepal.Length)) + geom_quasirandom()
Error in f(..., self = self) : attempt to apply non-function

您必须将R更新为3.2.5或更高版本。以前有过这个错误。

我可以在R3.3.3下运行代码。也许您可以将R更新到最新版本。我无法在R 3.2.2中重现错误。事实上,在安装R 3.3.3版后,我成功地运行了代码。