R users¶
R users rejoice: H2O-3 supports your chosen programming language!
Getting started with R¶
The following sections will help you begin using R for H2O-3.
See this cheatsheet on H2O-3 in R for a quick start.
Note
If you are running R on Linux, then you must install libcurl
which allows H2O-3 to communicate with R. We also recommend disabling SElinux and any firewalls (at least initially until you confirmed H2O-3 can initialize).
On Ubuntu, run:
apt-get install libcurl4-openssl-dev
On CentOS, run:
yum install libcurl-devel
Installing H2O with R¶
You can find instructions for using H2O-3 with Python in the Downloading and installing H2O section and on the Downloads page.
From the Downloads page:
Click the Install in R tab.
Follow the on-page instructions.
Checking your R version for H2O-3¶
To check which version of H2O-3 is installed in R, run the following:
versions::installed.versions("h2o")
Note
R version 3.1.0 (“Spring Dance”) is incompatible with H2O-3. If you are using that version, we recommend upgrading your R version before using H2O-3.
R documentation¶
See our R-specific documentation. This documentation also exists as a PDF: R user PDF.
Connecting RStudio to Sparkling Water¶
See our illustrated tutorial on how to use RStudio to connect to Sparkling Water.