Skip to content

Commit 6b15824

Browse files
Merge branch 'master' of github.com:rndazurescript/FunWithAzureML
2 parents fd7cd29 + 67a94af commit 6b15824

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

AdlsGen2/Readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,7 @@ Ensure the identity has `execute` permission in all folders within the container
2222

2323
> You can also set in as a `Default permission` something that will place it in any child folder that you will be creating from that point on. It doesn't inherit to existing folders.
2424
25+
> Note that the best practice is to use security groups instead of assigning each identity ACL permissions.
26+
2527
Ensure you have `read` permission at the folder where you want to list the files as seen bellow:
26-
![Execute and read permission at target folder](./target_path_ACL.png)
28+
![Execute and read permission at target folder](./target_path_ACL.png)
122 KB
Loading

cli-v2-r-component/Readme.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,21 @@
11
# Simple R component to expose in designer
22

3-
This is a simple component you can register using the following command:
3+
This is a simple component to show how easy it is to componetize your existing R scripts.
4+
5+
You develop your R code as you are used to.
6+
7+
When done, you drop your R scripts in the `src` folder and you define all your code's CRAN packages in the [Dockerfile](./environment/Dockerfile) adding lines like the following:
8+
9+
```Docker
10+
RUN R -e "install.packages('optparse', repos='https://cran.rstudio.com')"
11+
```
12+
13+
You then register the component in AzureML using the following AzureML CLI-V2 command:
414

515
```bash
616
az ml component create -f component.yml
717
```
818

9-
The idea behind this code is that you create an R script and put it in the `src` folder.
19+
From there on, you can drag and drop it in the designer:
20+
21+
![Custom R component](./Readme.SimpleRComponent.png)

0 commit comments

Comments
 (0)