GitHub user echarles opened a pull request:

    https://github.com/apache/incubator-zeppelin/pull/702

    R and SparkR Support [WIP]

    ### What is this PR for?
    
    Implement R and SpakR Intepreter as part of the Spark Interpreter Group. It 
also implements R and Scala binding (in both directions).
    
    ### What type of PR is it?
    
    [Feature]
    
    ### Todos
    
    * [ ] - Documentation
    * [ ] - Unit test (if relevant, as we depend on R being available on the 
host)
    * [ ] - Assess licensing (a priori ok as we don't delive anything out of 
ASL2, but we should corectly phrase the NOTICE as we depend on non-ASL2 
comptabile licenses (R) to run the interpreter).
    
    ### Is there a relevant Jira issue?
    
    https://issues.apache.org/jira/browse/ZEPPELIN-156 SparkR support
    
    ### How should this be tested?
    
    You need R available on the host running the notebook.
    
        For Centos: yum install R R-devel
        For Ubuntu: apt-get install r-base r-cran-rserve
    
    Install additional R packages:
    
    ```
    curl 
https://cran.r-project.org/src/contrib/Archive/rscala/rscala_1.0.6.tar.gz -o 
/tmp/rscala_1.0.6.tar.gz
    R CMD INSTALL /tmp/rscala_1.0.6.tar.gz
    R -e "install.packages('ggplot2', repos = 'http://cran.us.r-project.org')"
    R -e install.packages('knitr', repos = 'http://cran.us.r-project.org')
    ```
    
    - Build + launch Zeppelin and test the R note.
    
    !!! you need rscala_1.0.6 (if not, you need to build with 
-Drscala.version=...)
    
    ### Screenshots (if appropriate)
    
    #### Simple R
    
    [![Simple 
R](https://raw.githubusercontent.com/datalayer/zeppelin-R/rscala/_Rimg/simple-r.png)](https://raw.githubusercontent.com/datalayer/zeppelin-R/rscala/_Rimg/simple-r.png)
    
    #### Plot
    
    
[![Plot](https://raw.githubusercontent.com/datalayer/zeppelin-R/rscala/_Rimg/plot.png)](https://raw.githubusercontent.com/datalayer/zeppelin-R/rscala/_Rimg/plot.png)
    
    #### Scala R Binding
    
    [![Scala R 
Binding](https://raw.githubusercontent.com/datalayer/zeppelin-R/rscala/_Rimg/scala-r.png)](https://raw.githubusercontent.com/datalayer/zeppelin-R/rscala/_Rimg/scala-r.png)
    
    #### R Scala Binding
    
    [![R Scala 
Binding](https://raw.githubusercontent.com/datalayer/zeppelin-R/rscala/_Rimg/r-scala.png)](https://raw.githubusercontent.com/datalayer/zeppelin-R/rscala/_Rimg/r-scala.png)
    
    #### SparkR
    
    
[![SparkR](https://raw.githubusercontent.com/datalayer/zeppelin-R/rscala/_Rimg/sparkr.png)](https://raw.githubusercontent.com/datalayer/zeppelin-R/rscala/_Rimg/sparkr.png)
    
    ### Questions:
    
    * Does the licenses files need update? to be checked... (cfr R needs to be 
available to make this interpreter operational).
    * Is there breaking changes for older versions? No
    * Does this needs documentation? Yes


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/datalayer/zeppelin-R rscala-z

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-zeppelin/pull/702.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 #702
    
----
commit 363b2446fb01accee5e61e672e49cf152267b904
Author: Eric Charles <e...@datalayer.io>
Date:   2015-11-20T13:01:47Z

    Add SparRInterpreter implementation

commit 9312a0ce109a8c73061ecef60cf7b3e1320368a2
Author: Eric Charles <e...@datalayer.io>
Date:   2016-02-07T05:44:30Z

    Make rscala configurable in the spark-dependencies module

commit aa6a7a1ff9db48c999ef7c21465dd9a3d1c4d79a
Author: Eric Charles <e...@datalayer.io>
Date:   2016-02-07T05:58:23Z

    Remove png files and restore README.md

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to