Learn R Programming

AzureML (version 0.2.15)

upload.dataset: Upload an R data frame to an AzureML workspace.

Description

Upload any R data frame to an AzureML workspace using the GenericTSV format.

Usage

upload.dataset(x, ws, name, description = "", family_id = "", ...)

Arguments

x

An R data frame object

ws

An AzureML workspace reference returned by workspace.

name

A character name for the new AzureML dataset (may not match an existing dataset name)

description

An optional character description of the dataset

family_id

An optional AzureML family identifier

...

Optional additional options passed to write.table

Value

A single-row data frame of "Datasets" class that corresponds to the uploaded object now available in ws$datasets.

See Also

Other dataset functions: datasets, delete.datasets, download.intermediate.dataset, workspace

Examples

Run this code
# NOT RUN {
  library(AzureML)
  
  ws <- workspace()
  
  # Upload the R airquality data.frame to the workspace.
  upload.dataset(airquality, ws, "airquality")

  # Example datasets (airquality should be among them now)
  head(datasets(ws))

  # Now delete what we've just uploaded
  delete.datasets(ws, "airquality")
# }

Run the code above in your browser using DataLab