<?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 ggplot ggnewscale library missing in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/ggplot-ggnewscale-library-missing/m-p/726337#M19815</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to make ggplot chart which uses 2 separate fill scales. To do this I new_scale_fill() from ggnewscale packages. It works well in my PowerBi desktop. Unfortunately, online version of PowerBI does not support this package. Since this package contains only few functions which is placed &lt;A href="https://github.com/eliocamp/ggnewscale/blob/master/R/new-scale.R" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;I copied and pasted it into my R script inside PBI, but it didn't solved problem - PBI online keep returning error: "Don't know how to add new_scale_fill() to a plot". Desktop verion works in this solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I scoped that problem using content of functions and found out that: ggplot2::standardise_aes_names("fill") which can be called instead of new_scale_fill is propably not in PBI:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Error: 'standardise_aes_names' is not an exported object from 'namespace:ggplot2'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Interesting while this is just ggplot2 function. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I need to make something like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://github.com/eliocamp/ggnewscale/blob/master/man/figures/README-unnamed-chunk-1-1.png" target="_blank" rel="noopener"&gt;https://github.com/eliocamp/ggnewscale/blob/master/man/figures/README-unnamed-chunk-1-1.png&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please, help me solve this problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS. There is no option here to upload image - SERIOUSLY?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jun 2019 15:08:33 GMT</pubDate>
    <dc:creator>tw_psycho</dc:creator>
    <dc:date>2019-06-27T15:08:33Z</dc:date>
    <item>
      <title>ggplot ggnewscale library missing</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/ggplot-ggnewscale-library-missing/m-p/726337#M19815</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to make ggplot chart which uses 2 separate fill scales. To do this I new_scale_fill() from ggnewscale packages. It works well in my PowerBi desktop. Unfortunately, online version of PowerBI does not support this package. Since this package contains only few functions which is placed &lt;A href="https://github.com/eliocamp/ggnewscale/blob/master/R/new-scale.R" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;I copied and pasted it into my R script inside PBI, but it didn't solved problem - PBI online keep returning error: "Don't know how to add new_scale_fill() to a plot". Desktop verion works in this solution.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I scoped that problem using content of functions and found out that: ggplot2::standardise_aes_names("fill") which can be called instead of new_scale_fill is propably not in PBI:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Error: 'standardise_aes_names' is not an exported object from 'namespace:ggplot2'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Interesting while this is just ggplot2 function. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I need to make something like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://github.com/eliocamp/ggnewscale/blob/master/man/figures/README-unnamed-chunk-1-1.png" target="_blank" rel="noopener"&gt;https://github.com/eliocamp/ggnewscale/blob/master/man/figures/README-unnamed-chunk-1-1.png&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please, help me solve this problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS. There is no option here to upload image - SERIOUSLY?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 15:08:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/ggplot-ggnewscale-library-missing/m-p/726337#M19815</guid>
      <dc:creator>tw_psycho</dc:creator>
      <dc:date>2019-06-27T15:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: ggplot ggnewscale library missing</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/ggplot-ggnewscale-library-missing/m-p/3291062#M43139</link>
      <description>&lt;P&gt;I am also experiencing this problem. Did you find a solution?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 13:20:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/ggplot-ggnewscale-library-missing/m-p/3291062#M43139</guid>
      <dc:creator>RuthHjertmann</dc:creator>
      <dc:date>2023-06-19T13:20:12Z</dc:date>
    </item>
  </channel>
</rss>

