<?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: Correlation Plot in R Script Showcase</title>
    <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/155711#M143</link>
    <description>&lt;P&gt;I love what you did here with this visual and it works perfectly in my PowerBI Desktop.&amp;nbsp; However, when I try to view this from Power BI intranet, I get this error.&amp;nbsp; I have tried to correct this by modifying the function and corrplot lines of code, with no success:&lt;/P&gt;&lt;PRE&gt;#verify if the column is numeric and non-constant
correctColumn &amp;lt;- function(someColumn) { !is.null(someColumn) &amp;amp;&amp;amp; is.numeric(someColumn) &amp;amp;&amp;amp; length(unique(someColumn)) &amp;gt; 1 }&lt;/PRE&gt;&lt;PRE&gt;corrplot(M, method=method, order=order, type=type, addrect=addrect, #na.label = "?",
na.rm=TRUE, 
          mar = defMar, tl.col = tl.col, tl.cex=tl.cex,  tl.srt=60, cl.ratio=0.2, cl.align="r",  
       number.digits=number.digits, number.cex=number.cex, addCoef.col=addCoef.col)&lt;/PRE&gt;&lt;P&gt;How can I fix this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Apr 2017 20:21:09 GMT</pubDate>
    <dc:creator>ironryan77</dc:creator>
    <dc:date>2017-04-07T20:21:09Z</dc:date>
    <item>
      <title>Correlation Plot</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/58462#M12</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;STRONG&gt;&lt;SPAN&gt;Description&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Correlation plots can be used to quickly find insights, showing what otherwise would require lots of iterative slicing and dicing of your data.&lt;/P&gt;
&lt;P&gt;Download this sample to see how a correlation plot can inform marketing strategies in different market segments.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Prerequisites (The sample .pbix files will not work without these prerequites completed)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;1. Install R Engine&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Power BI Desktop does not include, deploy or install the R engine. To run R scripts in Power BI Desktop, you must separately install &lt;/SPAN&gt;R&lt;SPAN&gt; on your local computer. You can download and install &lt;/SPAN&gt;R&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;for free from many locations, including the &lt;/SPAN&gt;&lt;A title="" href="https://mran.revolutionanalytics.com/download/" target="_blank"&gt;Revolution Open download page&lt;/A&gt;&lt;SPAN&gt;, and the &lt;/SPAN&gt;&lt;A title="" href="https://cran.r-project.org/bin/windows/base/" target="_blank"&gt;CRAN Repository&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Install the required R packages.&lt;/P&gt;
&lt;P&gt;Download the R script attached to this message and run it to install all required packages on your local machine.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Required&amp;nbsp;R packages:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;corrplot&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Tested on:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;CRAN 3.3.1, MRO 3.3.0, powerbi.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Legal Disclaimers:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A title="" href="http://aka.ms/galleryTOS" target="_self" rel="nofollow noopener noreferrer"&gt;&lt;EM&gt;Terms of Service &lt;/EM&gt;&lt;/A&gt;&lt;EM&gt;and &lt;/EM&gt;&lt;A title="" href="https://aka.ms/gallerythirdparty" target="_self" rel="nofollow noopener noreferrer"&gt;&lt;EM&gt;Third Party Programs&lt;/EM&gt;&lt;/A&gt;&lt;EM&gt;.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2016 09:32:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/58462#M12</guid>
      <dc:creator>Sharon</dc:creator>
      <dc:date>2016-11-16T09:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation Plot</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/68496#M41</link>
      <description>&lt;P&gt;This is a great R visual. &amp;nbsp;I have taken some time to build a complete tutorial on how to 1. Install R, 2. add R code to PowerBI, 3. Manipulate the code to change the visual. &amp;nbsp;You can follow along and learn how to build this &lt;A title="here (www.PowerBI.Tips)" href="http://powerbi.tips/2016/09/using-r-visuals-in-power-bi/" target="_blank"&gt;here (www.PowerBI.Tips)&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Enjoy,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2016 05:51:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/68496#M41</guid>
      <dc:creator>Mike_Carlo</dc:creator>
      <dc:date>2016-09-15T05:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation Plot</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/92587#M90</link>
      <description>&lt;P&gt;Great tutorial ! Here is another useful resource: &lt;A href="https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-r-powered-custom-visuals/#troubleshooting-r-powered-custom-visuals" target="_self"&gt;https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-r-powered-custom-visuals/#troubleshooting-r-powered-custom-visuals&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 09:44:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/92587#M90</guid>
      <dc:creator>boefraty</dc:creator>
      <dc:date>2016-11-22T09:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation Plot</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/155711#M143</link>
      <description>&lt;P&gt;I love what you did here with this visual and it works perfectly in my PowerBI Desktop.&amp;nbsp; However, when I try to view this from Power BI intranet, I get this error.&amp;nbsp; I have tried to correct this by modifying the function and corrplot lines of code, with no success:&lt;/P&gt;&lt;PRE&gt;#verify if the column is numeric and non-constant
correctColumn &amp;lt;- function(someColumn) { !is.null(someColumn) &amp;amp;&amp;amp; is.numeric(someColumn) &amp;amp;&amp;amp; length(unique(someColumn)) &amp;gt; 1 }&lt;/PRE&gt;&lt;PRE&gt;corrplot(M, method=method, order=order, type=type, addrect=addrect, #na.label = "?",
na.rm=TRUE, 
          mar = defMar, tl.col = tl.col, tl.cex=tl.cex,  tl.srt=60, cl.ratio=0.2, cl.align="r",  
       number.digits=number.digits, number.cex=number.cex, addCoef.col=addCoef.col)&lt;/PRE&gt;&lt;P&gt;How can I fix this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2017 20:21:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/155711#M143</guid>
      <dc:creator>ironryan77</dc:creator>
      <dc:date>2017-04-07T20:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation Plot</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/163096#M158</link>
      <description>&lt;P&gt;Hi &amp;nbsp;&lt;SPAN class=""&gt;&lt;A id="link_29" class="lia-link-navigation lia-page-link lia-user-name-link" title="" href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/15145" target="_self"&gt;ironryan77&lt;/A&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Can you please share with me the PBIX, so I'd be able to reproduce this error? &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Apr 2017 07:39:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/163096#M158</guid>
      <dc:creator>boefraty</dc:creator>
      <dc:date>2017-04-23T07:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation Plot</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/163755#M165</link>
      <description>&lt;P&gt;Thanks, but I think I got this working now!&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 21:13:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/163755#M165</guid>
      <dc:creator>ironryan77</dc:creator>
      <dc:date>2017-04-24T21:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation Plot</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/165719#M167</link>
      <description>&lt;OL&gt;&lt;LI&gt;How does corrplot calculate correlation matrices?&lt;/LI&gt;&lt;LI&gt;Is this based on Pearson’s correlation coefficient formula? When I try plugging in my values to this formula, they do not match.&lt;/LI&gt;&lt;LI&gt;Does corrplot remove duplicate rows?&lt;/LI&gt;&lt;LI&gt;Does it handle aggregated columns?&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Thu, 27 Apr 2017 15:06:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/165719#M167</guid>
      <dc:creator>ironryan77</dc:creator>
      <dc:date>2017-04-27T15:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation Plot</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/165770#M168</link>
      <description>&lt;P&gt;Here is the documentation on the corrplot function that was used.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://cran.r-project.org/web/packages/corrplot/corrplot.pdf" target="_blank"&gt;https://cran.r-project.org/web/packages/corrplot/corrplot.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 16:46:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/165770#M168</guid>
      <dc:creator>Mike_Carlo</dc:creator>
      <dc:date>2017-04-27T16:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation Plot</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/434778#M296</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After reading your nice posts, I need some help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Sorry, I m beginner on Power BI).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://app.powerbi.com/view?r=eyJrIjoiNGNjYWEyMDItMmVhYS00OTVmLTgxM2ItYjFmMjYyODVmMDU5IiwidCI6IjBiOWI3NWE3LTk0MTQtNDg0Ny05NjBkLWRiN2YxNzgyMjk2ZSIsImMiOjl9" target="_blank"&gt;https://app.powerbi.com/view?r=eyJrIjoiNGNjYWEyMDItMmVhYS00OTVmLTgxM2ItYjFmMjYyODVmMDU5IiwidCI6IjBiOWI3NWE3LTk0MTQtNDg0Ny05NjBkLWRiN2YxNzgyMjk2ZSIsImMiOjl9&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to build graphs or indicators in order to see correlations between countries in import trade according&amp;nbsp;2 variables : weights in TON and volumes in USD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added this code but it doesn't work :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;require("corrplot")&lt;BR /&gt;library(corrplot)&lt;/P&gt;&lt;P&gt;M &amp;lt;- cor(dataset)&lt;/P&gt;&lt;P&gt;corrplot(M, method = "circle", tl.cex=0.6, tl.srt = 45, tl.col = "black", type= "upper", order="hclust")&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;If you have any suggestions, please advise.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for your time and help,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jaouad&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 15:04:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/434778#M296</guid>
      <dc:creator>JaouadZrhibi</dc:creator>
      <dc:date>2018-06-07T15:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation Plot</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/461425#M301</link>
      <description>&lt;P&gt;For&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;a while now, I am experiencing a problem with Correlation plot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I am using the same file sample with the same data and the same fields, but now importing the Correlation Plot visual from the visual market, I tried to replicate the same analysis, however, I always have the same error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Some columns are not numeric, or constant. Not enough input dimensions"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have all the packages installed, everything, but always the same error, even if I type the code at the R script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help with this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jul 2018 21:58:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/461425#M301</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-12T21:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation Plot</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/474571#M302</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Make sure the columns are not aggregated.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Jul 2018 12:55:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/474571#M302</guid>
      <dc:creator>boefraty</dc:creator>
      <dc:date>2018-07-29T12:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation Plot</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/474573#M303</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="62413" data-lia-user-login="JaouadZrhibi" class="lia-mention lia-mention-user"&gt;JaouadZrhibi&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your code is almost perfect just di right-click on your data clumns and select&amp;nbsp; "Don't summarize"&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Jul 2018 13:12:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/474573#M303</guid>
      <dc:creator>boefraty</dc:creator>
      <dc:date>2018-07-29T13:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation Plot</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/518870#M314</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I'm new to R visuals in Power BI. But I've installed&amp;nbsp;&lt;SPAN&gt;Microsoft R Open 3.5.1 and the visual in the example. But when I insert values the visual gives ni this error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Error Message:&lt;BR /&gt;R script error.&lt;BR /&gt;Loading required package: corrplot&lt;BR /&gt;Warning messages:&lt;BR /&gt;1: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :&lt;BR /&gt;there is no package called 'corrplot'&lt;BR /&gt;2: In libraryRequireInstall("corrplot") :&lt;BR /&gt;*** The package: 'corrplot' was not installed ***&lt;BR /&gt;Error in corrplot(M, method = method, order = order, type = type, addrect = addrect, :&lt;BR /&gt;could not find function "corrplot"&lt;BR /&gt;Execution halted&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What am I missing here?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 14:10:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/518870#M314</guid>
      <dc:creator>Katalo</dc:creator>
      <dc:date>2018-09-18T14:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation Plot</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/521480#M315</link>
      <description>&lt;P&gt;Hi Katalo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I m really sorry, I am also a beginner in Power BI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope you will find the solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jaouad&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 16:32:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/521480#M315</guid>
      <dc:creator>JaouadZrhibi</dc:creator>
      <dc:date>2018-09-20T16:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation Plot</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/524922#M316</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="62413" data-lia-user-login="JaouadZrhibi" class="lia-mention lia-mention-user"&gt;JaouadZrhibi&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="68413" data-lia-user-login="Katalo" class="lia-mention lia-mention-user"&gt;Katalo&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Run &lt;/P&gt;
&lt;PRE&gt;install.packages("corrplot")&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;from any R console. You can also download script provided with sample&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/oxcrx34285/attachments/oxcrx34285/RVisuals/12/16/ScriptInstallPackagesWithWorkaroundsCorrplot.R" target="_blank"&gt;https://community.powerbi.com/oxcrx34285/attachments/oxcrx34285/RVisuals/12/16/ScriptInstallPackagesWithWorkaroundsCorrplot.R&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Unfortunatly, if you use R Visual, power BI can not handle automatic package install.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In case of R Custom Visual&amp;nbsp;&lt;BR /&gt;&lt;A href="https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104380814?tab=Overview" target="_blank"&gt;https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104380814?tab=Overview&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is installed automatically&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Sep 2018 08:40:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/524922#M316</guid>
      <dc:creator>boefraty</dc:creator>
      <dc:date>2018-09-25T08:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation Plot</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/525479#M317</link>
      <description>&lt;P&gt;The local installation of your R will need to include the "corrplot" package.&amp;nbsp; as boefraty stated below you can use the following code to install it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;install.packages("corrplot")&lt;/PRE&gt;&lt;P&gt;You should run that in your local installation of R.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Follow this tutorial to help you install thie package "corrplot"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://powerbi.tips/2016/09/using-r-visuals-in-power-bi/" target="_blank"&gt;https://powerbi.tips/2016/09/using-r-visuals-in-power-bi/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Sep 2018 17:15:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/525479#M317</guid>
      <dc:creator>Mike_Carlo</dc:creator>
      <dc:date>2018-09-25T17:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation Plot</title>
      <link>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/633426#M327</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="68413" data-lia-user-login="Katalo" class="lia-mention lia-mention-user"&gt;Katalo&lt;/a&gt;probably you figured it out by now. If not, I am not sure if the following steps solve your problem but this is my two cents. Initially, I faced a lot of trouble with R (got the similar message as you did). After a long trial and error and knocking on many doors I solved it by using the following&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When &lt;U&gt;&lt;STRONG&gt;I run R in PBI&lt;/STRONG&gt;&lt;/U&gt;, the packages are accessed by PBI from C:\Users\xxxx\Library.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, &lt;U&gt;&lt;STRONG&gt;when I install the packages from R studio&lt;/STRONG&gt;&lt;/U&gt;, the installed packages get saved in C:\Users\xxxx\Documents\R\win-library\3.5.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After installing a package, I copy that package&lt;/P&gt;&lt;P&gt;from&lt;/P&gt;&lt;P&gt;C:\Users\xxxx\Documents\R\win-library\3.5&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;C:\Users\xxxx\Library&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything seems to work fine after that.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Feb 2019 19:35:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/R-Script-Showcase/Correlation-Plot/m-p/633426#M327</guid>
      <dc:creator>smpa01</dc:creator>
      <dc:date>2019-02-27T19:35:47Z</dc:date>
    </item>
  </channel>
</rss>

