dplyr: “Error in n(): function should not be called directly”

I presume you have dplyr and plyr loaded in the same session. dplyr is not plyrddply is not a function in the dplyr package.

Both dplyr and plyr have the functions summarise/summarize.

Look at the results of conflicts() to see masked objects.

Leave a Comment