Hey Parul, Did you install the repr package through r terminal or did you try it on zeppelin, because if you did later, you will not get the results? Let me know your complete problem .
Regards, Ashish On Mon, Nov 2, 2015 at 8:55 PM, Parul Agrawal <[email protected]> wrote: > Hi All, > > I installed zeppelin from the below link with R interpreter > > https://github.com/Peaceful-learner/incubator-zeppelin/tree/rinterpreter. > Build was successful. But when I am trying to use below code > > %spark.r > require("knitr") > require("repr") > newiris <- iris > newiris$Species <- NULL > (kc <- kmeans(newiris, 3)) > table(iris$Species, kc$cluster) > plot(newiris[c("Sepal.Length", "Sepal.Width")], col=kc$cluster) > points(kc$centers[,c("Sepal.Length", "Sepal.Width")], col=1:3, pch=8, > cex=2) > > I am getting error: > > *Displaying images through the R REPL requires the repr package, which is > not installed.* > > *I tried installing repr using the command below* > library(devtools) devtools::install_github("IRkernel/repr”) > *But it is not working. Just "+" sign is displayed and nothing happens * > *after that. I am trying the above steps in linux.* > > *Any help/guidance would be really helpful.* > > *Thanks and Regards,* > *Parul* > > >
