You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 20, 2018. It is now read-only.
The example below will use Spark version 2.0, Sparkling Water version 2.0.3, & H2O version 3.10.1.2.
31
53
32
54
## Installation
33
55
34
-
The **rsparkling** R package requires the **h2o** and **sparklyr** R packages to run.
56
+
The **rsparkling** R package requires the **sparklyr** and **h2o** R packages to run.
35
57
36
-
### Install h2o
58
+
### Install sparklyr
59
+
60
+
We recommend the latest stable version of [sparklyr](http://spark.rstudio.com/index.html).
61
+
62
+
```r
63
+
install.packages("sparklyr")
64
+
```
37
65
38
-
Today (Sept. 2016, the initial github release of rsparkling) you must use H2O R package version [3.10.0.6](http://h2o-release.s3.amazonaws.com/h2o/rel-turing/6/index.html#R) (H2O "Turing" release, build 6), since that version of H2O is embedded in rsparkling. This will be more flexible in the future.
66
+
### Install h2o
39
67
40
68
```r
41
69
# The following two commands remove any previously installed H2O packages for R.
@@ -48,19 +76,11 @@ for (pkg in pkgs) {
48
76
if (! (pkg%in% rownames(installed.packages()))) { install.packages(pkg) }
49
77
}
50
78
51
-
# Now we download, install and initialize the H2O package for R.
If Spark needs to be installed, that can be done using the following sparklyr command:
@@ -94,10 +112,10 @@ library(sparklyr)
94
112
spark_install(version="2.0.0")
95
113
```
96
114
97
-
The call to `options(rsparkling.sparklingwater.version = ...)` will globally set up a specific Sparkling Water version, which is the version of Sparkling Water that will be called in the `library(rsparkling)` command.
115
+
The call to `options(rsparkling.sparklingwater.version = ...)` will globally set up a specific Sparkling Water version, which is the version of Sparkling Water that will be called in the `library(rsparkling)` command.
98
116
99
117
```r
100
-
options(rsparkling.sparklingwater.version="2.0.0") # Using Sparkling Water 2.0.0
118
+
options(rsparkling.sparklingwater.version="2.0.3") # Using Sparkling Water 2.0.3
0 commit comments