<?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: Interactive R custom visuals not displaying in Power BI Desktop in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Interactive-R-custom-visuals-not-displaying-in-Power-BI-Desktop/m-p/514347#M15862</link>
    <description>&lt;P&gt;Have you added data into the visual's Values as well? Even though it references a sample dataset and not the Power BI data, adding data to Values should trigger the visual to appear.&lt;/P&gt;</description>
    <pubDate>Thu, 13 Sep 2018 01:02:57 GMT</pubDate>
    <dc:creator>deldersveld</dc:creator>
    <dc:date>2018-09-13T01:02:57Z</dc:date>
    <item>
      <title>Interactive R custom visuals not displaying in Power BI Desktop</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Interactive-R-custom-visuals-not-displaying-in-Power-BI-Desktop/m-p/513128#M15831</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I tried several&amp;nbsp;online tutorials on how to begin creating interactive R custom visuals (such as the link shown below), and followed&amp;nbsp;all these tutorials&amp;nbsp;carefully.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&lt;A href="http://radacad.com/interactive-map-using-r-and-power-bi-create-custom-visual-part-1" target="_blank"&gt;http://radacad.com/interactive-map-using-r-and-power-bi-create-custom-visual-part-1&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Every thing seemed to go as expected and according to&amp;nbsp;the instructions, all the way to (apparently successfully) importing the packaged .pbiviz file as a custom visual into the set of available charts visible in the visualization pane of Power BI Desktop.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, when I click on the newly available custom visual icon,&amp;nbsp;only a generic empty chart tile is placed on the report page.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The same unssuccessful end result happens no matter which sample&amp;nbsp;interactive R custom visual I tried, including the one from the&amp;nbsp;sampleRHTMLVisual template, which I copied and&amp;nbsp;pasted&amp;nbsp;below the script.r file:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;source('./r_files/flatten_HTML.r')&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;############### Library Declarations ###############&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;libraryRequireInstall("ggplot2");&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;libraryRequireInstall("plotly")&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;####################################################&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;################### Actual code ####################&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;g = qplot(`Petal.Length`, data = iris, fill = `Species`, main = Sys.time());&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;####################################################&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;############# Create and save widget ###############&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;p = ggplotly(g);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;internalSaveWidget(p, 'out.html');&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;####################################################&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am fairly good with R; and have successfully implemented many R scripts to&amp;nbsp;run&amp;nbsp;within Power BI Desktop, and have also published them onto the Power BI Pro online service displaying static R visuals.&amp;nbsp; &amp;nbsp;However, I am a relative beginner with Power BI, and have not (yet) created any custom visuals.&amp;nbsp;&amp;nbsp;I'm&amp;nbsp;excited&amp;nbsp;about the ability to&amp;nbsp;create&amp;nbsp;interactive R custom visuals in Power BI.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Additional info:&amp;nbsp;&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;I installed&amp;nbsp;&lt;SPAN&gt;the latest LTS version (8.12.0) of Node.js on my 64-bit Windows 10 Pro computer.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Running 64-bit R 3.5.1 on this Windows 10 machine.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;All required R packages are installed.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would appreciate assistance to overcome this hurdle.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 20:19:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Interactive-R-custom-visuals-not-displaying-in-Power-BI-Desktop/m-p/513128#M15831</guid>
      <dc:creator>Wing</dc:creator>
      <dc:date>2018-09-11T20:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive R custom visuals not displaying in Power BI Desktop</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Interactive-R-custom-visuals-not-displaying-in-Power-BI-Desktop/m-p/514347#M15862</link>
      <description>&lt;P&gt;Have you added data into the visual's Values as well? Even though it references a sample dataset and not the Power BI data, adding data to Values should trigger the visual to appear.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 01:02:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Interactive-R-custom-visuals-not-displaying-in-Power-BI-Desktop/m-p/514347#M15862</guid>
      <dc:creator>deldersveld</dc:creator>
      <dc:date>2018-09-13T01:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive R custom visuals not displaying in Power BI Desktop</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Interactive-R-custom-visuals-not-displaying-in-Power-BI-Desktop/m-p/515344#M15903</link>
      <description>&lt;P&gt;It works now.&amp;nbsp; &amp;nbsp;Thanks for the hint.&amp;nbsp; &amp;nbsp;I'm off to the races making R-powered Interactive Custom Visuals !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 19:29:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Interactive-R-custom-visuals-not-displaying-in-Power-BI-Desktop/m-p/515344#M15903</guid>
      <dc:creator>Wing</dc:creator>
      <dc:date>2018-09-13T19:29:25Z</dc:date>
    </item>
  </channel>
</rss>

