Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 205372

dplyr 0.8.1 count throws a strange error message

$
0
0

I ran into an issue with dplyr 0.8.1: It throws this error message when using count() on a character column:

error in count(., gender): Argument x must be a vector: list

However the usual workaround does work:

db %>% group_by(gender) %>% summarise(n = n())

Any ideas?


Viewing all articles
Browse latest Browse all 205372

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>