Reputation: 1006
Newby question in R/H2O, I want to access H2O both from Flow (the web) and from R. I've created a dataframe from R and can see it on H2O. I have created another dataframe in H2O directly, and asking how to get a handle to it in R?
Upvotes: 1
Views: 352
Reputation: 28968
To get a handle to an H2O frame called "xxx":
data <- h2o.getFrame("xxx")
If you also need that data in your R session (which you don't if you are just going to be using it to train models, make predictions on, etc.) then you follow it with:
df <- as.data.frame(data)
(Nothing special about the data
and df
naming.)
Upvotes: 2