Learn R Programming

h2o (version 3.40.0.4)

h2o.load_frame: Load frame previously stored in H2O's native format.

Description

Load frame previously stored in H2O's native format.

Usage

h2o.load_frame(frame_id, dir, force = TRUE)

Arguments

frame_id

the frame ID of the original frame

dir

a filesystem location where to look for frame data

force

logical. overwrite an already existing frame (defaults to true)

Examples

Run this code
if (FALSE) {
library(h2o)
h2o.init()

prostate_path = system.file("extdata", "prostate.csv", package = "h2o")
prostate = h2o.importFile(path = prostate_path)
h2o.save_frame(prostate, "/tmp/prostate")
prostate.key <- h2o.getId(prostate)
h2o.rm(prostate)
prostate <- h2o.load_frame(prostate.key, "/tmp/prostate")
}

Run the code above in your browser using DataLab