title: Error in R.NET - Data frame Object not found
body: <p>Folks,
  I have the simplest of code that I built for testing R.NET but keep getting an error while debugging. I populate a <code>dictionary</code> and then build a simple <code>R data frame</code>. Not displaying the code when dictionary is populated. While debug I did that and it's correct.</p>
  
  <p><strong><em>C# code:</em></strong></p>
  
  <pre><code>Dictionary&lt;string, List&lt;double&gt;&gt; LiqProductionData = new Dictionary&lt;string, List&lt;double&gt;&gt;();
  Engine.SetEnvironmentVariables();
              REngine engine = REngine.GetInstance();
              var DataFrame_Columns = new List&lt;IEnumerable&gt;(LiqProductionData.Values);   //column data
              var DataFrame_Colnames = new List&lt;string&gt;(LiqProductionData.Keys);         // column header
              var DataFrame_R = engine.CreateDataFrame(DataFrame_Columns.ToArray(), DataFrame_Colnames.ToArray()); 
              engine.SetSymbol("ProdData", DataFrame_R);        
              engine.Evaluate("source('D:/OFM_R/OFM_R_Example.R')");   // Run the "R" script
              var X = engine.GetSymbol("newProdData").AsNumericMatrix();
  </code></pre>
  
  <p><strong><em>RScript Code:</em></strong></p>
  
  <pre><code>setwd("D:/OFM_R")
  ProdData &lt;- as.matrix(DataFrame_R)  #converting the DATA Frame from OFM into R Matrix ProdData
  newProdData &lt;- ProdData*100
  </code></pre>
  
  <p><strong><em>Here is the error:</em></strong></p>
  
  <p>Error in as.matrix(DataFrame_R) : object 'DataFrame_R' not found
  {"Error in as.matrix(DataFrame_R) : object 'DataFrame_R' not found\n"}</p>