0

I'm trying to implement the fp-growth algorithm in R through sparklyr.

I've installed the sparklyr package and called the library sparklyr which works, but when I call the library ml_fpgrowth it's not working.

enter image description here The warning message says its not available for my version of R but I believe that's the latest R version.

How else can I install that ml_fpgrowth package?

Piper Ramirez
  • 373
  • 1
  • 3
  • 11

1 Answers1

0

ml_fpgrowth() is a function, not a package.

See documentation here.

Just install sparklyr like you do, and then:

library(sparklyr)
library(installr)

(There is no need to load the functions into R, just the packages)

After you can run your command line (fpm <- ...)