Github user jeffsteinmetz commented on the pull request: https://github.com/apache/incubator-zeppelin/pull/702#issuecomment-203267658 @echarles I updated the R notebook tutorial with a minor improvement in this patch: https://github.com/datalayer/zeppelin-datalayer/pull/9 I noticed passing variables between scala and R is working quite well. I previously thought there was an issue passing a scala Array to R, but it was because the Array was being treated as a multi-dimensional list in R. I updated the R tutorial notebook with a small addition of `unlist` to flatten the array to show the variable as a single list. for example: ``` %spark val a: Array[Double] = Array[Double](30.0, 20.0) z.put("a", a) %r aa <- unlist(z.get("a")) print(aa) ```
--- 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. ---