Skip to content
R for the Rest of Us Logo

What the heck does `summarise()` ungrouping output (override with `.groups` argument) mean?

David Keyes David Keyes
March 2nd, 2022

Ever been using R and gotten this message?

summarise() ungrouping output (override with .groups argument)

What the heck does it mean?

This is not an error. It’s just R’s way (the dplyr package specifically) of telling you what is happening with your data.

Here’s a quick explanation of what this message is all about and how to avoid it.

Hope that helps! Just a heads up that newer versions of the dplyr package dropped this behavior. So if you never see the summarise() ungrouping output (override with .groups argument) count yourself lucky!

Let us know what you think by adding a comment below.

You need to be signed-in to comment on this post. Login.