0

I am using Google Colab to work on a final project with a set of groupmates. Unfortunately, Colab is not working and I am getting this error. I was able to successfully install and then call the library for the package but when I run the DDPLY code Colab doesn't work.

If anyone can provide insight as to how to fix this it would be greatly appreciated!

Installing Packages

Running Code

Jack
  • 33
  • 4
  • 2
    This doesn't have anything to do with google colab really. You tried to use a function `ddply` from a pack that you didn't load `plyr`. `ddply` is not a `dplyr` function. Make sure to load the correct packages. – MrFlick Apr 09 '21 at 19:57

2 Answers2

1

I think ddply is not in dplyr (daft I know!) it is in plyr

So you need

library (plyr)

(And on first use a install.packages("plyr") too)

CALUM Polwart
  • 497
  • 3
  • 5
1

It looks like you are loading dplyr and not plyr. Calling it with either library(plyr); ddply() or plyr::ddply() should solve your issue

Giulio Centorame
  • 678
  • 4
  • 19