<?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/3427054#M44411</link>
    <description>&lt;P&gt;This answer doesn't really seem to address the issue.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Sep 2023 19:46:25 GMT</pubDate>
    <dc:creator>rowrowrow2</dc:creator>
    <dc:date>2023-09-12T19:46:25Z</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/2871238#M39468</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried multiple guides and multiple scripts to create&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;R custom visuals (such as the link shown below), and all of them seem to end in just a blank, white image showing on my visualiser. Some guides I've followed:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://radacad.com/interactive-map-using-r-and-power-bi-create-custom-visual-part-1" target="_blank" rel="noopener"&gt;https://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;&lt;SPAN&gt;&lt;A href="https://datakuity.com/2019/06/25/power-bi-create-custom-interactive-visuals-with-r/" target="_blank" rel="noopener"&gt;https://datakuity.com/2019/06/25/power-bi-create-custom-interactive-visuals-with-r/&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What is frustrating me is I am getting no errors, and everything seems to package correctly. Then when I pull in my custom visualiser and turn on the Fields, the visualiser thinks for a second, then turns blank and doesn't show anything.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This has also been true of &lt;/SPAN&gt;&lt;SPAN&gt;sampleRHTMLVisual template:&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;Could this be I haven't got the correct node_modules installed? I am not getting an error to refer back to at any stage so I am at a loss here. Any help would be much appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 14:52:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Interactive-R-custom-visuals-not-displaying-in-Power-BI-Desktop/m-p/2871238#M39468</guid>
      <dc:creator>ojbowden</dc:creator>
      <dc:date>2022-10-28T14:52:52Z</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/2874306#M39490</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/463547"&gt;@ojbowden&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please check the Known limitations of R visual in Power BI.&lt;/P&gt;
&lt;P&gt;R visuals in Power BI Desktop have the following limitations:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;Data sizes: Data used by an R visual for plotting is limited to 150,000 rows. If more than 150,000 rows are selected, only the top 150,000 rows are used and a message is displayed on the image.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Output size : R visual has an output size limit of 2MB.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Resolution: All R visuals are displayed at 72 DPI.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Plotting device: Only plotting to the default device is supported.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Calculation times: If an R visual calculation exceeds five minutes, it causes a time-out error.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Relationships: As with other Power BI Desktop visuals, if data fields from different tables with no defined relationship between them are selected, an error occurs.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Refreshes: R visuals are refreshed upon data updates, filtering, and highlighting. However, the image itself isn't interactive and can't be the source of cross-filtering.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Highlights: R visuals respond if you highlight other visuals, but you can't select elements in the R visual to cross filter other elements.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Display devices: Only plots that are plotted to the R default display device are displayed correctly on the canvas. Avoid explicitly using a different R display device.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Column renaming: R visuals do not support renaming input columns. Columns will be referred to by their original name during script execution.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;RRO installations: In this release, the 32-bit version of Power BI Desktop doesn't automatically identify RRO installations; you must manually provide the path to the R installation directory in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Options and settings&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Options&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;R Scripting&lt;/STRONG&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;For reference:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-r-visuals" target="_self"&gt;Create Power BI visuals using R&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;And you can check whether you have install and configure R script correctly.&lt;/P&gt;
&lt;P&gt;For reference:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-r-scripts" target="_self"&gt;Run R scripts in Power BI Desktop&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 09:26:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Interactive-R-custom-visuals-not-displaying-in-Power-BI-Desktop/m-p/2874306#M39490</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-31T09:26:15Z</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/3427054#M44411</link>
      <description>&lt;P&gt;This answer doesn't really seem to address the issue.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 19:46:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Interactive-R-custom-visuals-not-displaying-in-Power-BI-Desktop/m-p/3427054#M44411</guid>
      <dc:creator>rowrowrow2</dc:creator>
      <dc:date>2023-09-12T19:46:25Z</dc:date>
    </item>
  </channel>
</rss>

