Download H2O Data to Disk
Download an H2O data set to a CSV file on the local disk
h2o.downloadCSV(data, filename)
data
: an H2OFrame object to be downloaded.filename
: A string indicating the name that the CSV file should be should be saved to.Files located on the H2O server may be very large! Make sure you have enough hard drive space to accomodate the entire file.
## Not run: library(h2o) h2o.init() iris_hf <- as.h2o(iris) file_path <- paste(getwd(), "my_iris_file.csv", sep = .Platform$file.sep) h2o.downloadCSV(iris_hf, file_path) file.info(file_path) file.remove(file_path) ## End(Not run)