title: Access Azure Blob Storage through R
body: <p>I'm trying to use R to make a connection to Azure Blob from where I have some CSV files stored.  I need to load them into a data frame and make some transformations to them before I write them back to another Blob container.  I'm trying to do this through Databricks so I can ultimately call this notebook from Data Factories and include it in a pipeline.</p>
  
  <p>Databricks gives me a sample notebook in Python, where a connection can be made with the following code:</p>
  
  <pre><code>storage_account_name = "testname"
  storage_account_access_key = "..."
  file_location = "wasb://example@testname.blob.core.windows.net/testfile.csv"
  
  spark.conf.set(
    "fs.azure.account.key."+storage_account_name+".blob.core.windows.net",
    storage_account_access_key)
  
  df = spark.read.format('csv').load(file_location, header = True, inferSchema = True)
  </code></pre>
  
  <p>Is there something similar in R?  I can use the SparkR or Sparklyr package in R if it can help me load a file and place it in a Spark dataframe as well.</p>