From 5dbc8217da04fa86ab1765437c7d5efb6c1780bb Mon Sep 17 00:00:00 2001 From: AlanWeaver Date: Thu, 15 Jun 2017 12:02:46 +0100 Subject: [PATCH] Fixed errors in tutorial.Rmd #75 Error in azureResizeHDI. IsInteger assert. --- R/AzureHDI.R | 2 ++ vignettes/tutorial.Rmd | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/AzureHDI.R b/R/AzureHDI.R index bd5bc61..8f3b43d 100644 --- a/R/AzureHDI.R +++ b/R/AzureHDI.R @@ -93,6 +93,8 @@ azureHDIConf <- function(azureActiveContext, clustername, resourceGroup, x$hardwareProfile$vmSize)}, FUN.VALUE = character(1) ), collapse = ", " ) + return(rc) + dfn <- with(rc, data.frame( name = name, diff --git a/vignettes/tutorial.Rmd b/vignettes/tutorial.Rmd index 2ff56ed..a6ba176 100644 --- a/vignettes/tutorial.Rmd +++ b/vignettes/tutorial.Rmd @@ -143,7 +143,6 @@ To list blobs in a container use `azureListStorageBlobs()` azureListStorageBlobs(sc, storageAccount = "testmystorage1", container = "opendata") ``` - To read a blob in a container use `azureGetBlob()` ```{r, eval=FALSE} @@ -152,7 +151,6 @@ azureGetBlob(sc, storageAccount = "testmystorage1", container = "opendata", type="text") ``` - ## Manage HDInsight Clusters You can use `AzureSMR` to manage Azure HDInsight clusters. To create clusters use azureCreateHDI or for advanced configurations use Resource Templates (See below).