Skip to content

Commit 89d6a3a

Browse files
committed
1 parent a6a3695 commit 89d6a3a

File tree

1 file changed

+5
-4
lines changed
  • docs/interpreter

1 file changed

+5
-4
lines changed

docs/interpreter/R.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,25 @@ group: manual
88

99
## R Interpreter for Apache Zeppelin
1010

11-
[R](https://www.r-project.org) iR is a free software environment for statistical computing and graphics.
11+
[R](https://www.r-project.org) is a free software environment for statistical computing and graphics.
1212

1313
To run R code and visualize plots in Apache Zeppelin, you will need R on your master node (or your dev laptop).
1414

15-
+ For Centos: yum install R R-devel
16-
+ For Ubuntu: apt-get install r-base r-cran-rserve
15+
+ For Centos: `yum install R R-devel libcurl-devel openssl-devel`
16+
+ For Ubuntu: `apt-get install r-base r-cran-rserve`
1717

1818
Validate your installation with a simple R command:
1919

2020
```
21-
R -e print(1+1)
21+
R -e "print(1+1)"
2222
```
2323

2424
Then install the required R libraries;
2525

2626
+ devtools with `R -e "install.packages('devtools', repos = 'http://cran.us.r-project.org')"`
2727
+ knitr with `R -e "install.packages('knitr', repos = 'http://cran.us.r-project.org')"`
2828
+ ggplot2 with `R -e "install.packages('ggplot2', repos = 'http://cran.us.r-project.org')"`
29+
+ Other vizualisation librarires with `R -e "install.packages(c('devtools','mplot', 'googleVis'), repos = 'http://cran.us.r-project.org'); require(devtools); install_github('ramnathv/rCharts')"`
2930
+ rscala: You need version 1.0.6 of RScala, so the commands will be [1]
3031

3132
```

0 commit comments

Comments
 (0)