For anyone who was following those instructions, remember there also
needs to be the `library(h2o)` and `h2o.init()` commands, after
installing, and before trying to load data.
And in case you are doing this all from an existing session, it is worth
starting with `h2o.shutdown()` (before you uninstall the previous
packages). (But, I prefer to make sure all my H2O-using R sessions are
shut down, then start a dedicated R session for the uninstall/install
steps.)
> # finally the absolute path needs to be specified.
> path1 <- "~/Documents/Dropbox/ML_R_Feb18/data/flights_train.csv"
>
> flights_train <- h2o.uploadFile(path = path1,
> destination_frame = "flights_train",
> parse = TRUE, header = TRUE,
> sep = ",")
(The last three are the defaults, by the way.)
The relative path is the directory your R session is in when you do the
h2o.init() command. If you've started H2O in another R session, or from
the commandline, then it is safest/required to use absolute paths.
Darren
--
Darren Cook, Software Researcher/Developer
My New Book: Practical Machine Learning with H2O:
http://shop.oreilly.com/product/0636920053170.do