Switch branches/tags
v2.0.4.1 nn-2 jenkins-tomk-repackage-gson-3 jenkins-tomk-repackage-gson-2 jenkins-tomk-repackage-gson-1 jenkins-tomas-parse-3 jenkins-tomas-parse-2 jenkins-rel-nunes-2 jenkins-rel-nunes-1 jenkins-rel-novikov-3 jenkins-rel-novikov-2 jenkins-rel-novikov-1 jenkins-rel-noether-4 jenkins-rel-noether-3 jenkins-rel-noether-2 jenkins-rel-noether-1 jenkins-rel-mirzakhani-2 jenkins-rel-mirzakhani-1 jenkins-rel-maxwell-8 jenkins-rel-maxwell-7 jenkins-rel-maxwell-6 jenkins-rel-maxwell-5 jenkins-rel-maxwell-4 jenkins-rel-maxwell-3 jenkins-rel-maxwell-2 jenkins-rel-maxwell-1 jenkins-rel-markov-1 jenkins-rel-mandelbrot-1 jenkins-rel-lambert-5 jenkins-rel-lambert-4 jenkins-rel-lambert-3 jenkins-rel-lambert-2 jenkins-rel-lambert-1 jenkins-rel-ito-3 jenkins-rel-ito-2 jenkins-master-1763 jenkins-master-1762 jenkins-master-1761 jenkins-master-1760 jenkins-master-1759 jenkins-master-1758 jenkins-master-1757 jenkins-master-1756 jenkins-master-1755 jenkins-master-1754 jenkins-master-1753 jenkins-master-1752 jenkins-master-1751 jenkins-master-1750 jenkins-master-1749 jenkins-master-1748 jenkins-master-1747 jenkins-master-1746 jenkins-master-1745 jenkins-master-1744 jenkins-master-1743 jenkins-master-1742 jenkins-master-1741 jenkins-master-1740 jenkins-master-1739 jenkins-master-1738 jenkins-master-1737 jenkins-master-1736 jenkins-master-1735 jenkins-master-1734 jenkins-master-1733 jenkins-master-1732 jenkins-master-1731 jenkins-master-1730 jenkins-master-1729 jenkins-master-1728 jenkins-master-1727 jenkins-master-1726 jenkins-master-1725 jenkins-master-1724 jenkins-master-1723 jenkins-master-1722 jenkins-master-1721 jenkins-master-1720 jenkins-master-1719 jenkins-master-1718 jenkins-master-1717 jenkins-master-1716 jenkins-master-1715 jenkins-master-1714 jenkins-master-1713 jenkins-master-1712 jenkins-master-1711 jenkins-master-1710 jenkins-master-1709 jenkins-master-1708 jenkins-master-1707 jenkins-master-1706 jenkins-master-1705 jenkins-master-1704 jenkins-master-1703 jenkins-master-1702 jenkins-master-1701 jenkins-master-1700 jenkins-master-1699
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


H2O in R

These instructions assume you are using R 2.13.0 or later.  

**STEP 1: Unzip**

If you are reading this, you probably already downloaded an h2o zip file and unzipped it.
(Note:  Obtain a zip file from the Download button at http://h2o.ai)

**STEP 2: Install the H2O R Package**

In a terminal window, type:


**STEP 3: Start a connection to H2O**

Load the H2O package in the R environment.  Start the connection between R and H2O (with defaults at ip: localhost and port: 54321).
Look at the help for h2o.init() for additional information about how to start and connect to H2O.

  > library(h2o)
  > localH2O = h2o.init()

**STEP 4: Drive H2O from R** 

  > irisPath = system.file("extdata", "iris.csv", package="h2o")
  > iris.hex = h2o.importFile(localH2O, irisPath)
  > summary(iris.hex)

Useful Notes

First time users may need to download and install Java
in order to run H2O. H2O currently supports any Java beyond Java 6. 
The program is available free on the web, 
and can be quickly installed. Even though you will use Java to 
run H2O, no programming is necessary. 

In the Java command entered to run H2O:

java -Xmx1g -jar h2o.jar

the term -Xmx1g was used. Xmx is the
amount of memory given to H2O.  If your data set is large,
give H2O more memory (for example, -Xmx4g gives H2O four gigabytes of
memory).  For best performance, Xmx should be 4x the size of your
data, but never more than the total amount of memory on your
computer. For larger data sets, running on a server or service 
with more memory available for computing is recommended.