title: running a linear regresion using r in Tableau
body: <p>I am trying really hard to undestand how tableau and r works together.     </p>
  
  <pre><code>SCRIPT_REAL("mydata &lt;- data.frame(cbind([Exports]=.arg1,
               [Crop Year]=.arg2,
               [Calendar Date]=.arg3,)); 
               fit &lt;- lm(Exports ~.,data=mydata")
  </code></pre>
  
  <p>The following error I receive:</p>
  
  <blockquote>
    <p>Script real is being called with string.</p>
  </blockquote>
  
  <p>Can someone help me with this?</p>