2017-04-14 7 views
0

私はggbeeswarmパッケージをテストしようとしていました。R ggplot2:「f(...、self = self):エラーが発生しました」というエラーが表示されるのはなぜですか?

残念ながら、私は以下のコマンドを実行するとエラーが発生します。 このエラーはなぜ発生しますか?

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 
+0

R 3.3.3でコードを実行できます。おそらくあなたはあなたのRを最新のバージョンに更新することができます。 – www

+0

R 3.2.2でエラーを再現できません。 –

答えて

1

Rを3.2.5以上に更新する必要があります。過去にそのエラーがあった。

+0

実際、Rバージョン3.3.3をインストールした後、コードを正常に実行することができました。 –

関連する問題