You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This article will show you how to use R on a compute instance in Azure Machine Learning studio, running an R kernel in a Jupyter notebook.
@@ -52,7 +52,7 @@ Your notebook is now ready for you to run R commands.
52
52
53
53
You can upload files to your workspace file storage and access them in R. But for files stored in Azure [_data assets_ or data from _datastores_](concept-data.md), you first need to install a few packages.
54
54
55
-
This section describes how to use Python and the `reticulate` package to load your data assets and datastores into R from an interactive session. You'll read tabular data as Pandas DataFrames using the [`azureml-fsspec`](/python/api/azureml-fsspec/?view=azure-ml-py&preserve-view=true) Python package and the `reticulate` R package.
55
+
This section describes how to use Python and the `reticulate` package to load your data assets and datastores into R from an interactive session. You'll read tabular data as Pandas DataFrames using the [`azureml-fsspec`](/python/api/azureml-fsspec/?view=azure-ml-py&preserve-view=true) Python package and the `reticulate` R package. There is also an example of reading this into a R `data.frame`.
56
56
57
57
To install these packages:
58
58
@@ -72,7 +72,7 @@ The install script performs the following steps:
72
72
73
73
### Read tabular data from registered data assets or datastores
74
74
75
-
When your data is stored in a data asset [created in Azure Machine Learning](how-to-create-data-assets.md?tabs=cli#create-a-file-asset), use these steps to read that tabular file into an R `data.frame`:
75
+
When your data is stored in a data asset [created in Azure Machine Learning](how-to-create-data-assets.md?tabs=cli#create-a-file-asset), use these steps to read that tabular file into a Pandas DataFrame or an R `data.frame`:
76
76
> [!NOTE]
77
77
> Reading a file with `reticulate` only works with tabular data.
78
78
@@ -108,6 +108,43 @@ When your data is stored in a data asset [created in Azure Machine Learning](how
> Rather than remember the datastore URI format, you can copy-and-paste the datastore URI from the Studio UI, if you know the datastore where your file is located:
127
+
> 1. Navigate to the file/folder you want to read into R
128
+
> 1. Select the elipsis (**...**) next to it.
129
+
> 1. Select from the menu **Copy URI**.
130
+
> 1. Select the **Datastore URI** to copy into your notebook/script.
131
+
> Please note, you will still need to create a variable for `<path>` in the code.
132
+
> :::image type="content" source="media/how-to-access-data-ci/datastore_uri_copy.png" alt-text="Screenshot highlighting the copy of the datastore URI.":::
133
+
134
+
2. Create a filestore object using the aforementioned URI:
0 commit comments