An R interface to AzureML( experiments, datasets, and web services.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
R Correct argumement for "my experiments" in experiments() #120 Oct 20, 2017
inst Rebuild vignettes Jul 13, 2016
man Rebuild docs with Roxygen2 v6 Oct 21, 2017
tests Use mockery::stub() in tests #128 Oct 21, 2017
vignettes Remove vignette artefacts Jul 13, 2016
.Rbuildignore Ignore Rproj Oct 21, 2017
LICENSE Update copyright notice to 2015-2016 #84 Jan 27, 2016
NEWS Bump version to 0.2.13 Aug 19, 2016 Include status badges for CRAN version and download stats Dec 1, 2016


Project Status: Active - The project has reached a stable, usable state and is being actively developed. CRAN_Status_Badge CRAN RStudio mirror downloads

An R interface to AzureML experiments, datasets, and web services.

Use this package to upload and download datasets to and from AzureML, to interrogate experiments, to publish new R-based web services, and to run R data through existing web services and retrieve the output.

Installation instructions

Install the development version of the package directly from GitHub with:

# Install devtools
if(!require("devtools")) install.packages("devtools")

The package has dependencies on the following R packages:

  • jsonlite
  • curl
  • miniCRAN
  • base64enc
  • uuid

In addition, you need a zip utility installed and your path must include the location of this zip utility. On Linux machines this is usually included by default. However, on Windows, you may have to install this yourself, e.g. by installing RTools and editing your path to include the RTools location.


This package provides an interface to publish web services on Microsoft Azure Machine Learning (Azure ML) from your local R environment. The main functions in the package cover:

  • Workspace: connect to and manage AzureML workspaces
  • Datasets: upload and download datasets to and from AzureML workspaces
  • Publish: define a custom function or train a model and publish it as an Azure Web Service
  • Consume: use available web services from R in a variety of convenient formats

System requirements

To publish web services, you need to have an external zip utility installed. This utility should be in the available in the path. See ?zip for more details.

On windows, it's sufficient to install RTools.

Note: the utility should be called zip, since zip() looks for a file called zip in the path. Thus, publishWebservice() may fail, even if you have a program like 7-zip installed.


The project wiki contains additional information, such as bug bash instructions


See the package vignette and help documentation for examples and more information.

You can view the vignette at Getting Started with the AzureML Package.

Bug reports

This is a technology preview. The APIs used by the package are still subject to change. Please report any issues at the github issue tracker.