@@ -48,7 +48,7 @@ This sample shows how to install Zoo:
48
48
# The script MUST contain a function named azureml_main
49
49
# which is the entry point for this module.
50
50
51
- # The entry point function can contain up to two input arguments:
51
+ # The entry point function MUST have two input arguments:
52
52
# Param<dataframe1>: a R DataFrame
53
53
# Param<dataframe2>: a R DataFrame
54
54
azureml_main <- function (dataframe1 , dataframe2 ){
@@ -73,7 +73,7 @@ The following example shows how to upload an image file in the **Execute R Scrip
73
73
# The script MUST contain a function named azureml_main
74
74
# which is the entry point for this module.
75
75
76
- # The entry point function can contain up to two input arguments:
76
+ # The entry point function MUST have two input arguments:
77
77
# Param<dataframe1>: a R DataFrame
78
78
# Param<dataframe2>: a R DataFrame
79
79
azureml_main <- function (dataframe1 , dataframe2 ){
@@ -127,7 +127,7 @@ Datasets stored in the designer are automatically converted to an R data frame w
127
127
# The script MUST contain a function named azureml_main
128
128
# which is the entry point for this module.
129
129
130
- # The entry point function can contain up to two input arguments:
130
+ # The entry point function MUST have two input arguments:
131
131
# Param<dataframe1>: a R DataFrame
132
132
# Param<dataframe2>: a R DataFrame
133
133
azureml_main <- function (dataframe1 , dataframe2 ){
@@ -144,8 +144,8 @@ Datasets stored in the designer are automatically converted to an R data frame w
144
144
145
145
* The script must contain a function named `azureml_main` , which is the entry point for this module.
146
146
147
- * The entry point function can contain up to two input arguments : `Param<dataframe1>` and `Param<dataframe2>`
148
-
147
+ * The entry point function must have two input arguments : `Param<dataframe1>` and `Param<dataframe2>` , even when these two arguments are not used in the function .
148
+
149
149
> [! NOTE ]
150
150
> The data passed to the ** Execute R Script ** module is referenced as `dataframe1` and `dataframe2` , which is different from Azure Machine Learning designer (the designer reference as `dataset1` , `dataset2` ). Please check to make sure input data is referneced correctly in your script.
151
151
@@ -191,7 +191,7 @@ The following sample shows how to scale and normalize input data:
191
191
# R version: 3.5.1
192
192
# The script MUST contain a function named azureml_main
193
193
# which is the entry point for this module.
194
- # The entry point function can contain up to two input arguments:
194
+ # The entry point function must have two input arguments:
195
195
# Param<dataframe1>: a R DataFrame
196
196
# Param<dataframe2>: a R DataFrame
197
197
azureml_main <- function(dataframe1, dataframe2){
0 commit comments