Re: [R] Extending sparklyr

2016-10-10 Thread Javier Luraschi
For versions 1.6.1 and 2.0.0 of Spark, the GaussianMixture is under the ml namespace not mllib, try this instead: envir$model <- "org.apache.spark.mllib.clustering.GaussianMixture" Best, Javier On Sun, Oct 9, 2016 at 1:47 PM, Axel Urbiz wrote: > Hi All, > > Just started to experiment with "spa

[R] Extending sparklyr

2016-10-09 Thread Axel Urbiz
Hi All, Just started to experiment with "sparklyr" and already loving it. I'm trying to build an extension by constructing an R wrapper to Spark's Gaussian Mixtures. My attempt is below, and so is the error message. Not sure if this is possible to do, and if so, what is wrong with my code. Any h