R/frame.R
Downloads the H2O data and then scans it in to an R data frame.
# S3 method for H2OFrame as.data.frame(x, ...)
x | An H2OFrame object. |
---|---|
... | Further arguments to be passed down from other methods. |
Method as.data.frame.H2OFrame
will use fread
if data.table package is installed in required version.
use.package
# NOT RUN { h2o.init() prosPath <- system.file("extdata", "prostate.csv", package="h2o") prostate.hex <- h2o.uploadFile(path = prosPath) as.data.frame(prostate.hex) # }