{"action":"created","issue":{"url":"https://api.github.com/repos/apache/incubator-zeppelin/issues/702","repository_url":"https://api.github.com/repos/apache/incubator-zeppelin","labels_url":"https://api.github.com/repos/apache/incubator-zeppelin/issues/702/labels{/name}","comments_url":"https://api.github.com/repos/apache/incubator-zeppelin/issues/702/comments","events_url":"https://api.github.com/repos/apache/incubator-zeppelin/issues/702/events","html_url":"https://github.com/apache/incubator-zeppelin/pull/702","id":131941626,"number":702,"title":"R and SparkR Support [WIP]","user":{"login":"echarles","id":226720,"avatar_url":"https://avatars.githubusercontent.com/u/226720?v=3","gravatar_id":"","url":"https://api.github.com/users/echarles","html_url":"https://github.com/echarles","followers_url":"https://api.github.com/users/echarles/followers","following_url":"https://api.github.com/users/echarles/following{/other_user}","gists_url":"https://api.github.com/users/echarles/gists{/gist_id}","starred_url":"https://api.github.com/users/echarles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/echarles/subscriptions","organizations_url":"https://api.github.com/users/echarles/orgs","repos_url":"https://api.github.com/users/echarles/repos","events_url":"https://api.github.com/users/echarles/events{/privacy}","received_events_url":"https://api.github.com/users/echarles/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":31,"created_at":"2016-02-07T06:13:02Z","updated_at":"2016-03-08T16:43:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/incubator-zeppelin/pulls/702","html_url":"https://github.com/apache/incubator-zeppelin/pull/702","diff_url":"https://github.com/apache/incubator-zeppelin/pull/702.diff","patch_url":"https://github.com/apache/incubator-zeppelin/pull/702.patch"},"body":"### What is this PR for?\r\n\r\nImplement R and SpakR Intepreter as part of the Spark Interpreter Group. It also implements R and Scala binding (in both directions).\r\n\r\n### What type of PR is it?\r\n\r\n[Feature]\r\n\r\n### Todos\r\n\r\n* [ ] - Documentation\r\n* [ ] - Unit test (if relevant, as we depend on R being available on the host)\r\n* [ ] - 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).\r\n\r\n### Is there a relevant Jira issue?\r\n\r\nhttps://issues.apache.org/jira/browse/ZEPPELIN-156 SparkR support\r\n\r\n### How should this be tested?\r\n\r\nYou need R available on the host running the notebook.\r\n\r\n    For Centos: yum install R R-devel\r\n    For Ubuntu: apt-get install r-base r-cran-rserve\r\n\r\nInstall additional R packages:\r\n\r\n```\r\ncurl https://cran.r-project.org/src/contrib/Archive/rscala/rscala_1.0.6.tar.gz -o /tmp/rscala_1.0.6.tar.gz\r\nR CMD INSTALL /tmp/rscala_1.0.6.tar.gz\r\nR -e \"install.packages('ggplot2', repos = 'http://cran.us.r-project.org')\"\r\nR -e install.packages('knitr', repos = 'http://cran.us.r-project.org')\r\n```\r\n\r\n- Build + launch Zeppelin and test the R note.\r\n\r\n!!! you need rscala_1.0.6 (if not, you need to build with -Drscala.version=...)\r\n\r\n### Screenshots (if appropriate)\r\n\r\n#### Simple R\r\n\r\n[![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)\r\n\r\n#### Plot\r\n\r\n[![Plot](https://raw.githubusercontent.com/datalayer/zeppelin-R/rscala/_Rimg/plot.png)](https://raw.githubusercontent.com/datalayer/zeppelin-R/rscala/_Rimg/plot.png)\r\n\r\n#### Scala R Binding\r\n\r\n[![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\n\r\n#### R Scala Binding\r\n\r\n[![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)\r\n\r\n#### SparkR\r\n\r\n[![SparkR](https://raw.githubusercontent.com/datalayer/zeppelin-R/rscala/_Rimg/sparkr.png)](https://raw.githubusercontent.com/datalayer/zeppelin-R/rscala/_Rimg/sparkr.png)\r\n\r\n### Questions:\r\n\r\n* Does the licenses files need update? to be checked... (cfr R needs to be available to make this interpreter operational).\r\n* Is there breaking changes for older versions? No\r\n* Does this needs documentation? Yes\r\n"},"comment":{"url":"https://api.github.com/repos/apache/incubator-zeppelin/issues/comments/193857443","html_url":"https://github.com/apache/incubator-zeppelin/pull/702#issuecomment-193857443","issue_url":"https://api.github.com/repos/apache/incubator-zeppelin/issues/702","id":193857443,"user":{"login":"jeffsteinmetz","id":5488059,"avatar_url":"https://avatars.githubusercontent.com/u/5488059?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffsteinmetz","html_url":"https://github.com/jeffsteinmetz","followers_url":"https://api.github.com/users/jeffsteinmetz/followers","following_url":"https://api.github.com/users/jeffsteinmetz/following{/other_user}","gists_url":"https://api.github.com/users/jeffsteinmetz/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffsteinmetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffsteinmetz/subscriptions","organizations_url":"https://api.github.com/users/jeffsteinmetz/orgs","repos_url":"https://api.github.com/users/jeffsteinmetz/repos","events_url":"https://api.github.com/users/jeffsteinmetz/events{/privacy}","received_events_url":"https://api.github.com/users/jeffsteinmetz/received_events","type":"User","site_admin":false},"created_at":"2016-03-08T16:43:59Z","updated_at":"2016-03-08T16:43:59Z","body":"Looks good, everything has worked as expected for me.\r\n\r\n@echarles is `r-cran-rserve` needed on ubuntu?\r\n\r\nI was able to get by with just \r\n`apt-get install r-base`\r\nplus a few other packages listed as suggested\r\n\r\nThis doesn't appear to be a core requirement.\r\n\r\nI am running it through this VM\r\nhttps://github.com/apache/incubator-zeppelin/pull/751\r\n\r\n"}}