[ https://issues.apache.org/jira/browse/SPARK-10183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14711417#comment-14711417 ]
Amos commented on SPARK-10183: ------------------------------ Pushed code up last night to link R to a running spark context. I'm not able to post a link from my iPhone but it's in elbamos/incubator-Zeppelin, branch reinterpreter, and the code you'll care about is in classes RContext (which does the work), RBackendHelper (because the Backend is private) and RStatics. > Expose the SparkR backend api > ----------------------------- > > Key: SPARK-10183 > URL: https://issues.apache.org/jira/browse/SPARK-10183 > Project: Spark > Issue Type: Improvement > Components: SparkR > Reporter: Amos > Priority: Minor > > The Backend class is currently scoped to the api.r package. I'm accessing it, > for the Zeppelin project, so I can start SparkR against an already-running > spark context. To do this I've had to create a helper class withing api.r. It > would be better if the backend were exposed. It isn't a tremendous amount of > functionality - create a backend, start it, stop it. > (If we want to be really clever, it could also be passed a spark context and > make that available to R clients, facilitate passing rdd's back and forth, > etc. I'll be pushing code that does some of that to Zeppelin in a day or two > if that helps.) -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org