Learn R Programming

h2o (version 2.8.4.4)

h2o.getFrame: Get Reference to H2O Data Set

Description

Get a reference to an existing H2O data set.

Usage

h2o.getFrame(h2o, key)

Arguments

h2o
An H2OClient object containing the IP address and port of the server running H2O.
key
A string indicating the unique hex key of the data set to retrieve.

Value

  • Returns an object of class H2OParsedData.

Examples

Run this code
library(h2o)
localH2O = h2o.init()
irisPath = system.file("extdata", "iris.csv", package = "h2o")
h2o.importFile(localH2O, path = irisPath, key = "iris.hex")
h2o.ls(localH2O)
iris.hex = h2o.getFrame(localH2O, "iris.hex")
h2o.shutdown(localH2O)

Run the code above in your browser using DataLab