GitHub user elbamos opened a pull request:
https://github.com/apache/incubator-zeppelin/pull/208
R Interpreter for Zeppelin
This is the initial PR for an R Interpreter for Zeppelin. There's still
some work to be done (e.g., tests), but its useable, it brings to Zeppelin
features from R like its library of statistics and machine learning packages,
as well as advanced interactive visualizations. So I'd like to open it up for
others to comment and/or become involved.
Summary:
- There are two interpreters, one emulates a REPL, the other uses knitr to
weave markdown and formatted R output. The two interpreters share a single
execution environment.
- Visualisations: Besides R's own graphics, this also supports interactive
visualizations with googleVis and rCharts. I am working on htmlwidgets (almost
done) with the author of that package, and a next-step project is to get
Shiny/ggvis working. Sometimes, a visualization won't load until the page is
reloaded. I'm not sure why this is.
- Licensing: To talk to R, this integrates code forked from rScala.
rScala was released with a BSD-license option, and the author's permission was
obtained.
- Spark: Getting R to share a single spark context with the Spark
interpreter group is going to be a project. For right now, the R interpreters
live in their own "r" interpreter group, and new spark contexts are created on
startup.
- Zeppelin Context: Not yet integrated, in significant part because
there's no ZeppelinContext to talk to until it lives in the Spark interpreter
group.
- Documentation: A notebook is included that demonstrates what the
interpreter does and how to use it.
- Tests: Working on it...
P.S.: This is my first PR on a project of this size; let me know what I
messed up and I'll try to fix it ASAP.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/elbamos/incubator-zeppelin rinterpreter
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-zeppelin/pull/208.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #208
----
commit b416544c7ddc1c1ceb5316a53a69234a1e1a33f4
Author: elbamos <[email protected]>
Date: 2015-08-13T06:49:07Z
This is the initial commit for an R Interpreter for Zeppelin
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---