<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Error connecting Through R in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Error-connecting-Through-R/m-p/492945#M15102</link>
    <description>&lt;P&gt;I am getting the following error when I paste the following code in the R script connector box. It is simple script that runs on RStudio.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;df1 &amp;lt;- data_frame(school = c("A", "B", "C", "D", "E", "F", "G", "H"),
perc_25 = c(950, 1140, 1140, 820, 920, 950, 850, 850),
perc_75 = c(1190, 1410, 1380, 1030, 1130, 1150, 1060, 1050),
diff = as.numeric(perc_75 - perc_25))&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Details: "ADO.NET: R script error.&lt;BR /&gt;Error: could not find function "data_frame"&lt;BR /&gt;Execution halted&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does nayone have any ideas why this not running. I have done some visual in powerBI using R previously but I am not sure what has changed. Thanks&lt;BR /&gt;"&lt;/P&gt;</description>
    <pubDate>Fri, 17 Aug 2018 18:28:19 GMT</pubDate>
    <dc:creator>arashaga</dc:creator>
    <dc:date>2018-08-17T18:28:19Z</dc:date>
    <item>
      <title>Error connecting Through R</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-connecting-Through-R/m-p/492945#M15102</link>
      <description>&lt;P&gt;I am getting the following error when I paste the following code in the R script connector box. It is simple script that runs on RStudio.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;df1 &amp;lt;- data_frame(school = c("A", "B", "C", "D", "E", "F", "G", "H"),
perc_25 = c(950, 1140, 1140, 820, 920, 950, 850, 850),
perc_75 = c(1190, 1410, 1380, 1030, 1130, 1150, 1060, 1050),
diff = as.numeric(perc_75 - perc_25))&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Details: "ADO.NET: R script error.&lt;BR /&gt;Error: could not find function "data_frame"&lt;BR /&gt;Execution halted&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does nayone have any ideas why this not running. I have done some visual in powerBI using R previously but I am not sure what has changed. Thanks&lt;BR /&gt;"&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 18:28:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-connecting-Through-R/m-p/492945#M15102</guid>
      <dc:creator>arashaga</dc:creator>
      <dc:date>2018-08-17T18:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error connecting Through R</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-connecting-Through-R/m-p/494118#M15127</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/68805"&gt;@arashaga&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which library does data_frame belong? It could be data dot frame which is data.frame(). As far as I know, I can't call other columns when initiating the data frame. Please try it like below or include the proper library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;# include the proper library which has the data_frame.
library(lib)
your other codes go here.&lt;/PRE&gt;
&lt;PRE&gt;school &amp;lt;- c("A", "B", "C", "D", "E", "F", "G", "H")
perc_25 &amp;lt;- c(950, 1140, 1140, 820, 920, 950, 850, 850)
perc_75 &amp;lt;- c(1190, 1410, 1380, 1030, 1130, 1150, 1060, 1050)
diff &amp;lt;- perc_75 - perc_25
df1 &amp;lt;- data.frame(school = school, perc_25 = perc_25, perc_75 = perc_75, diff = diff)&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="r.png" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/114245i99584F3848CC0B64/image-size/large?v=v2&amp;amp;px=999" role="button" title="r.png" alt="r.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Dale&lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 14:10:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-connecting-Through-R/m-p/494118#M15127</guid>
      <dc:creator>v-jiascu-msft</dc:creator>
      <dc:date>2018-08-20T14:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error connecting Through R</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-connecting-Through-R/m-p/497221#M15221</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/68805"&gt;@arashaga&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt; color: #333333;"&gt;Could you please mark the proper answers as solutions?&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Best Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Dale&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 09:49:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-connecting-Through-R/m-p/497221#M15221</guid>
      <dc:creator>v-jiascu-msft</dc:creator>
      <dc:date>2018-08-23T09:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error connecting Through R</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Error-connecting-Through-R/m-p/497354#M15232</link>
      <description>&lt;P&gt;Yes. Thank you for the solution!&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 12:07:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Error-connecting-Through-R/m-p/497354#M15232</guid>
      <dc:creator>arashaga</dc:creator>
      <dc:date>2018-08-23T12:07:02Z</dc:date>
    </item>
  </channel>
</rss>

