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
The **Execute Python Script** module contains sample Python code that you can use as a starting point. To configure the **Execute Python Script** module, you provide a set of inputs and Python code to execute in the **Python script** text box.
> Please check if the package already exists before install it to avoid repeat installing. Like ` if(!require(zoo)) install.packages("zoo",repos = "http://cran.us.r-project.org")` in above sample code. Repeat installing may cause web service request timeout.
65
65
66
+
## Upload files
67
+
The **Execute R Script** supports uploading files using Azure Machine Learning R SDK.
68
+
69
+
The following example shows how to upload an image file in the **Execute R Script**:
70
+
```R
71
+
72
+
# R version: 3.5.1
73
+
# The script MUST contain a function named azureml_main
74
+
# which is the entry point for this module.
75
+
76
+
# The entry point function can contain up to two input arguments:
The **Execute R Script** module contains sample code that you can use as a starting point. To configure the **Execute R Script** module, provide a set of inputs and code to execute.
You can pass R objects between instances of the **Execute R Script** module by using the internal serialization mechanism. This example assumes that you want to move the R object named `A` between two **Execute R Script** modules.
221
254
222
-
1. Add the first **Execute R Script** module to your pipeline, and type the following code in the **R Script** text box to create a serialized object `A` as a column in the module’s output Data Table:
255
+
1. Add the first **Execute R Script** module to your pipeline, and type the following code in the **R Script** text box to create a serialized object `A` as a column in the module's output Data Table:
0 commit comments