dai.upload_dataset.Rd
Uploads the file to the server from path
and creates a dataset from it. See
supported file formats.
dai.upload_dataset(path, progress = getOption("dai.progress", TRUE))
path | Local path at the client computer. |
---|---|
progress | Whether to display a progress bar. |
DAIFrame reprenting the dataset.
dai.create_dataset
# NOT RUN { dai.connect(uri = 'http://127.0.0.1:12345', username = 'h2oai', password = 'h2oai') \dontshow{ local_path_to_data<- dai:::find_file('smalldata/kaggle/CreditCard/creditcard_train_cat.csv') } data <- dai.upload_dataset(local_path_to_data, progress = FALSE) # } # NOT RUN { dai.rm(data) # }