We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c820c77 commit 004a073Copy full SHA for 004a073
azure-ml-skeleton.r
@@ -0,0 +1,17 @@
1
+# Map 1-based optional input ports to variables
2
+dataset1 <- maml.mapInputPort(1) # class: data.frame
3
+dataset2 <- maml.mapInputPort(2) # class: data.frame
4
+
5
+# Contents of optional Zip port are in ./src/
6
+# source("src/yourfile.R");
7
+# load("src/yourData.rdata");
8
9
+# Sample operation
10
+data.set = rbind(dataset1, dataset2);
11
12
+# You'll see this output in the R Device port.
13
+# It'll have your stdout, stderr and PNG graphics device(s).
14
+plot(data.set);
15
16
+# Select data.frame to be sent to the output Dataset port
17
+maml.mapOutputPort("data.set");
get-package-list.r
@@ -0,0 +1,3 @@
+# R code to send package list to an ML Azure output port
+out <- data.frame(installed.packages())
+maml.mapOutputPort("out")
0 commit comments