Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on 09-06-2016 05:00 PM - edited 08-19-2019 01:33 AM
Version Information:
| CentOS release 6.7 (Final) |
| Ambari 2.4.0.1 |
| HDP 2.5.0.0 |
| Zeppelin 0.6.0.2.5.0.0-1245 |
| R version 3.2.3 is installed on all data nodes. |
I followed the below directions to install Zeppelin on data node 01.
When I view the interpreters tab, the following interpreters appear.
- angular - jdbc - livy - markdown - sh - spark
By using the example notebooks, I can see that the %sh, %md, and %pyspark interpreters work, but no %r interpreter exists.
No %r interpreter.
No %sparkr interpreter.
Does the ambari deployed Zeppelin not support R? This says it does. https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.0/bk_zeppelin-component-guide/content/using-i...
Or is there some hook that only invokes it if it detects a certain version ?
Created 09-06-2016 05:08 PM
In HDP 2.5, r is provided in Zeppelin via the Livy interpreter.
Try using the following:
%livy.sparkr
Note, you will need to make sure you have R installed on your machine first.
If you haven't already, install it with the following (on all nodes):
yum install R R-devel libcurl-devel openssl-devel
Validate it was installed correctly:
R -e "print(1+1)"
Once it is installed, test out sparkr in Zeppelin with Livy to confirm it is working:
%livy.sparkr foo <- TRUE print(foo)
Created 09-10-2016 11:11 PM
I'll follow up on that and correct or clarify.
Created 09-21-2016 07:13 PM
Quick update: the R interpreter has been removed from the list for now. SparkR via Livy remains on the list.
Created 09-30-2016 06:22 PM
Thanks!
Created 12-22-2016 03:24 PM
Out of curiosity, why is R/SparkR only provided through Livy in HDP 2.5 as it is provided as standard with the standalone Zeppelin package? Thanks.
Created 11-11-2016 07:08 AM
Hi, @Laurence Da Luz
I have some problem
I use
%livy.sparkr
but it tell me that
"Cannot start sparkr."
how can I solve it?
where can I check SparkR has installed?
Created 02-22-2018 08:28 PM
@lgeorge @justin kuspa @Rick Moritz
Any further updates on why the R interpreter was removed in 2016? Will functionality differ from RStudio in terms of running R Code through the Livy interpreter in Zeppelin?