Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Select statement error : unused argument [duplicate]

Tags:

r

dplyr

The line of code below from the dplyr package is super simple. And yet, its giving me an error. I'm just trying to practice using the package and want to select a single column, cyl, from the data frame mtcars. What's going on here? Any ideas?

> select(mtcars, cyl)

Error in select(mtcars, cyl) : unused argument (cyl)

like image 955
Mitsugi Avatar asked Jan 09 '18 04:01

Mitsugi


1 Answers

Came across the same error. Could not figure out what it was. Out of desperation I installed dplyr again and suddenly it worked...

like image 63
Cul Avatar answered Oct 23 '22 05:10

Cul