title: R Script in AzureML
body: <p>I am trying to develop a survey App and using R Script with Azure ML for same.</p>
  
  <p>I have developed below code for the same and it works perfectly fine on Local Machine:</p>
  
  <pre><code>dataset1 &lt;-maml.mapInputPort(2)
  dataset3 &lt;-maml.mapInputPort(1)
  Z &lt;- as.numeric((dataset3),stringsAsFactors=TRUE)
  Y &lt;- mdBinaryDesign(Z,4,dataset1)
  Y.aggregate=mdBinaryToAggregateDesign(Y)
  survey.design=mdDesignNames(Y.aggregate, dataset1)
  data.set &lt;- as.data.frame(survey.design)
  maml.mapOutputPort("data.set")
  </code></pre>
  
  <p>Now we plan to deploy this Application on server , for which we are using Azure MIL .</p>
  
  <p>Now my Dataset1 and Dataset3 are coming using Input port in R Model , by using the above code , I get error "missing value where TRUE/FALSE needed". My Dataset3 contains a simple number eg: "5" .</p>
  
  <p>Since my model will only run having three dynamic inputs (e.g. a, b, c), is there a way I can call a web service which will give me three output parameters via JSON and I can assign same to my model?</p>
  
  <p>The part where I want to dynamically apply parameters are:</p>
  
  <pre><code>Y &lt;- mdBinaryDesign(parameter_1,parameter_2,parameters3)
  </code></pre>
  
  <p>Since I am new to R , Please suggest we what library to use as well how to assigns value to parameter_1 and so on.</p>