Skip to content

Commit 4d5cfa5

Browse files
committed
Initial documentation for R Interpreter
1 parent 3e24d02 commit 4d5cfa5

File tree

3 files changed

+41
-1
lines changed

3 files changed

+41
-1
lines changed

docs/_includes/themes/zeppelin/_navigation.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
<li><a href="{{BASE_PATH}}/interpreter/lens.html">Lens</a></li>
5151
<li><a href="{{BASE_PATH}}/interpreter/markdown.html">Markdown</a></li>
5252
<li><a href="{{BASE_PATH}}/interpreter/postgresql.html">Postgresql, hawq</a></li>
53+
<li><a href="{{BASE_PATH}}/interpreter/R.html">R</a></li>
5354
<li><a href="{{BASE_PATH}}/interpreter/scalding.html">Scalding</a></li>
5455
<li><a href="{{BASE_PATH}}/pleasecontribute.html">Shell</a></li>
5556
<li><a href="{{BASE_PATH}}/interpreter/spark.html">Spark</a></li>

docs/interpreter/R.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
layout: page
3+
title: "R Interpreter"
4+
description: ""
5+
group: manual
6+
---
7+
{% include JB/setup %}
8+
9+
## R Interpreter for Apache Zeppelin
10+
11+
[R](https://www.r-project.org) iR is a free software environment for statistical computing and graphics.
12+
13+
To run R code and visualize plots in Apache Zeppelin, you will need:
14+
15+
+ devtools with `install.packages("devtools", repos = "http://cran.us.r-project.org")`
16+
+ knitr with `install.packages("knitr", repos = "http://cran.us.r-project.org")`
17+
+ ggplot2 with `install.packages("ggplot2", repos = "http://cran.us.r-project.org")`
18+
+ rscala: We need version 1.0.6 of Rscala, so the commands will be [1]
19+
20+
```
21+
[1]
22+
curl https://cran.r-project.org/src/contrib/Archive/rscala/rscala_1.0.6.tar.gz -o /tmp/rscala_1.0.6.tar.gz
23+
R CMD INSTALL /tmp/rscala_1.0.6.tar.gz
24+
```
25+
26+
Validate your installation with a simple R command:
27+
28+
```
29+
print(1+1)
30+
```
31+
32+
We recommend you to also install the following libraries:
33+
34+
+ glmnet
35+
+ pROC
36+
+ data.table
37+
+ caret
38+
+ sqldf
39+
+ wordcloud

docs/rest-api/rest-configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ limitations under the License.
7979
"zeppelin.server.context.path":"/",
8080
"zeppelin.ssl.keystore.type":"JKS",
8181
"zeppelin.ssl.truststore.path":"truststore",
82-
"zeppelin.interpreters":"org.apache.zeppelin.spark.SparkInterpreter,org.apache.zeppelin.spark.PySparkInterpreter,org.apache.zeppelin.spark.SparkSqlInterpreter,org.apache.zeppelin.spark.DepInterpreter,org.apache.zeppelin.markdown.Markdown,org.apache.zeppelin.angular.AngularInterpreter,org.apache.zeppelin.shell.ShellInterpreter,org.apache.zeppelin.hive.HiveInterpreter,org.apache.zeppelin.tajo.TajoInterpreter,org.apache.zeppelin.flink.FlinkInterpreter,org.apache.zeppelin.lens.LensInterpreter,org.apache.zeppelin.ignite.IgniteInterpreter,org.apache.zeppelin.ignite.IgniteSqlInterpreter,org.apache.zeppelin.cassandra.CassandraInterpreter,org.apache.zeppelin.geode.GeodeOqlInterpreter,org.apache.zeppelin.postgresql.PostgreSqlInterpreter,org.apache.zeppelin.phoenix.PhoenixInterpreter,org.apache.zeppelin.kylin.KylinInterpreter,org.apache.zeppelin.elasticsearch.ElasticsearchInterpreter,org.apache.zeppelin.scalding.ScaldingInterpreter",
82+
"zeppelin.interpreters":"org.apache.zeppelin.spark.SparkInterpreter,org.apache.zeppelin.spark.PySparkInterpreter,org.apache.zeppelin.spark.SparkRInterpreter,org.apache.zeppelin.spark.SparkSqlInterpreter,org.apache.zeppelin.spark.DepInterpreter,org.apache.zeppelin.markdown.Markdown,org.apache.zeppelin.angular.AngularInterpreter,org.apache.zeppelin.shell.ShellInterpreter,org.apache.zeppelin.hive.HiveInterpreter,org.apache.zeppelin.tajo.TajoInterpreter,org.apache.zeppelin.flink.FlinkInterpreter,org.apache.zeppelin.lens.LensInterpreter,org.apache.zeppelin.ignite.IgniteInterpreter,org.apache.zeppelin.ignite.IgniteSqlInterpreter,org.apache.zeppelin.cassandra.CassandraInterpreter,org.apache.zeppelin.geode.GeodeOqlInterpreter,org.apache.zeppelin.postgresql.PostgreSqlInterpreter,org.apache.zeppelin.phoenix.PhoenixInterpreter,org.apache.zeppelin.kylin.KylinInterpreter,org.apache.zeppelin.elasticsearch.ElasticsearchInterpreter,org.apache.zeppelin.scalding.ScaldingInterpreter",
8383
"zeppelin.ssl":"false",
8484
"zeppelin.notebook.autoInterpreterBinding":"true",
8585
"zeppelin.notebook.homescreen":"",

0 commit comments

Comments
 (0)