You may have another summarise
function,
probably from the plyr
package.
# Works
library(dplyr)
iris_tdt <- tbl_dt(iris)
iris_tdt %.%
group_by(Species) %.%
summarise(avg_petal_width = mean(Petal.Width))
# No longer works...
library(plyr)
iris_tdt <- tbl_dt(iris)
iris_tdt %.%
group_by(Species) %.%
summarise(avg_petal_width = mean(Petal.Width))
If you really need both packages,
you can try to load dplyr
last,
or prefix all the affected functions (summarise
, mutate
, etc.)
with their namespace (dplyr::summarise
, etc.)