<?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 Re: script R only works in Power BI Desktop in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/R-script-only-work-localy/m-p/308413#M9086</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have reported this issue: CRI&amp;nbsp;52371475. Any news I will post here.&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>Wed, 22 Nov 2017 06:20:31 GMT</pubDate>
    <dc:creator>v-jiascu-msft</dc:creator>
    <dc:date>2017-11-22T06:20:31Z</dc:date>
    <item>
      <title>R script only work localy</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/R-script-only-work-localy/m-p/304884#M8975</link>
      <description>&lt;P&gt;I have a R script embeded in a page that worked perfectly localy in my Power BI Desktop application but is not working when I publish on Power BI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;library(dplyr)
library(ggplot2)
library(lubridate) # for working with dates
#evolution du CA dans le temps


dataset$date_gagne &amp;lt;- strtrim(dataset$date_gagne,c(10))


dt2 &amp;lt;- dataset %&amp;gt;% filter (!is.na(ca_entite)) %&amp;gt;%
  mutate(date = ymd(date_gagne)) %&amp;gt;%
  arrange(date_gagne) %&amp;gt;%
  mutate(cumsum = cumsum(ca_entite))

dt2 %&amp;gt;% ggplot(aes(date, cumsum)) + geom_line(colour = "red",size = 3) +
  xlab("") + ylab("CA BT") + theme_linedraw(base_size = 11, base_family = "") +
  labs(title = "Evolution du CA dans le temps") &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error message is :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; Attaching package: 'dplyr'
 The following objects are masked from 'package:stats':
 filter, lag
 The following objects are masked from 'package:base':
 intersect, setdiff, setequal, union
 Error in mutate_impl(.data, dots) : 
 (converted from warning) unable to identify current timezone 'C':
 please set environment variable 'TZ'
 In addition: Warning messages:
  1: package 'dplyr' was built under R version 3.2.5 
  2: package 'ggplot2' was built under R version 3.2.5 
  3: package 'lubridate' was built under R version 3.2.4 &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2017 13:30:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/R-script-only-work-localy/m-p/304884#M8975</guid>
      <dc:creator>laurentWeave</dc:creator>
      <dc:date>2017-11-16T13:30:18Z</dc:date>
    </item>
    <item>
      <title>script R only works in Power BI Desktop</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/R-script-only-work-localy/m-p/304892#M9014</link>
      <description>&lt;P&gt;I have a R script that works localy but is not working when I publish&amp;nbsp;it on power BI&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;library(dplyr)
library(ggplot2)
library(lubridate) # for working with dates
#evolution du CA dans le temps


dataset$date_gagne &amp;lt;- strtrim(dataset$date_gagne,c(10))


dt2 &amp;lt;- dataset %&amp;gt;% filter (!is.na(ca_entite)) %&amp;gt;%
  mutate(date = ymd(date_gagne)) %&amp;gt;%
  arrange(date_gagne) %&amp;gt;%
  mutate(cumsum = cumsum(ca_entite))

dt2 %&amp;gt;% ggplot(aes(date, cumsum)) + geom_line(colour = "red",size = 3) +
  xlab("") + ylab("CA BT") + theme_linedraw(base_size = 11, base_family = "") +
  labs(title = "Evolution du CA dans le temps &amp;gt; prod BT", subtitle = "CA BT") &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error I got is the following:&lt;/P&gt;&lt;PRE&gt;Attaching package: 'dplyr'
 The following objects are masked from 'package:stats':
 filter, lag
 The following objects are masked from 'package:base':
 intersect, setdiff, setequal, union
 Error in mutate_impl(.data, dots) : 
 (converted from warning) unable to identify current timezone 'C':
 please set environment variable 'TZ'

 In addition: Warning messages:
 
 1: package 'dplyr' was built under R version 3.2.5 
 2: package 'ggplot2' was built under R version 3.2.5 
 3: package 'lubridate' was built under R version 3.2.4 
 
 &lt;/PRE&gt;</description>
      <pubDate>Thu, 16 Nov 2017 13:44:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/R-script-only-work-localy/m-p/304892#M9014</guid>
      <dc:creator>laurentWeave</dc:creator>
      <dc:date>2017-11-16T13:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: R script only work localy</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/R-script-only-work-localy/m-p/304962#M8978</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/47154"&gt;@laurentWeave&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for reaching us.&lt;/P&gt;&lt;P&gt;We'll involve our R-script developer to assist you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ignat Vilesov,&lt;/P&gt;&lt;P&gt;Software Engineer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;&lt;SPAN&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2017 15:33:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/R-script-only-work-localy/m-p/304962#M8978</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2017-11-16T15:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: script R only works in Power BI Desktop</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/R-script-only-work-localy/m-p/306443#M9015</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/47154"&gt;@laurentWeave&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have consulted the Product Team. I will post the result here later.&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 Nov 2017 02:40:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/R-script-only-work-localy/m-p/306443#M9015</guid>
      <dc:creator>v-jiascu-msft</dc:creator>
      <dc:date>2017-11-20T02:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: script R only works in Power BI Desktop</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/R-script-only-work-localy/m-p/308413#M9086</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have reported this issue: CRI&amp;nbsp;52371475. Any news I will post here.&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>Wed, 22 Nov 2017 06:20:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/R-script-only-work-localy/m-p/308413#M9086</guid>
      <dc:creator>v-jiascu-msft</dc:creator>
      <dc:date>2017-11-22T06:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: script R only works in Power BI Desktop</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/R-script-only-work-localy/m-p/666147#M19055</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having the same issue with GGPLOT2 in the service.&lt;/P&gt;&lt;P&gt;Why is that R script is running 3.2.2 and is not patched to a newer version that supports newer R packages in the service?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 07:56:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/R-script-only-work-localy/m-p/666147#M19055</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-10T07:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: R script only work localy</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/R-script-only-work-localy/m-p/765707#M20346</link>
      <description>&lt;P&gt;I have a similar problem with my R script working locally but not in the shared workspace. Other ggplot2 graphs without dplyr are working so I assume that it is dplyr causing the problem. However, this error makes having R scripting in Power BI nigh on pointless because for me it's particular value is being able to easily manipulate the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't post my code or the error because the website keeps throwing errors when I try.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 20:34:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/R-script-only-work-localy/m-p/765707#M20346</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-13T20:34:17Z</dc:date>
    </item>
  </channel>
</rss>

