<?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: cannot use custom visual with R. in Power Query</title>
    <link>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/373304#M16111</link>
    <description>&lt;P&gt;Thank you! That was very helpful! :)&lt;/P&gt;</description>
    <pubDate>Fri, 09 Mar 2018 17:17:04 GMT</pubDate>
    <dc:creator>jiler13</dc:creator>
    <dc:date>2018-03-09T17:17:04Z</dc:date>
    <item>
      <title>cannot use custom visual with R.</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/220726#M11854</link>
      <description>&lt;P&gt;I already install R 3-2.0 and Rstudio and setting my R Scripting at powerBI but when i use custom visual which need R i get this error, how to solve this problem?&lt;/P&gt;&lt;P&gt;i want to try using custom visual Clustering K means&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Feedback Type:&lt;BR /&gt;Frown (Error)&lt;/P&gt;&lt;P&gt;Timestamp:&lt;BR /&gt;2017-07-28T04:02:54.8672061Z&lt;/P&gt;&lt;P&gt;Local Time:&lt;BR /&gt;2017-07-28T11:02:54.8672061+07:00&lt;/P&gt;&lt;P&gt;Product Version:&lt;BR /&gt;2.48.4792.721 (PBIDesktop) (x64)&lt;/P&gt;&lt;P&gt;Release:&lt;BR /&gt;July 2017&lt;/P&gt;&lt;P&gt;IE Version:&lt;BR /&gt;11.483.15063.0&lt;/P&gt;&lt;P&gt;OS Version:&lt;BR /&gt;Microsoft Windows NT 10.0.15063.0 (x64 en-US)&lt;/P&gt;&lt;P&gt;CLR Version:&lt;BR /&gt;4.6.2. or later [Release Number = 460798]&lt;/P&gt;&lt;P&gt;Workbook Package Info:&lt;BR /&gt;1* - id-ID, Query Groups: 0, fastCombine: Disabled, runBackgroundAnalysis: True.&lt;/P&gt;&lt;P&gt;Peak Working Set:&lt;BR /&gt;449 MB&lt;/P&gt;&lt;P&gt;Private Memory:&lt;BR /&gt;324 MB&lt;/P&gt;&lt;P&gt;Peak Virtual Memory:&lt;BR /&gt;33.9 GB&lt;/P&gt;&lt;P&gt;Error Message:&lt;BR /&gt;R script error.&lt;BR /&gt;Loading required package: XML&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 'XML'&lt;BR /&gt;2: In libraryRequireInstall("XML") :&lt;BR /&gt;*** The package: 'XML' was not installed ***&lt;BR /&gt;Loading required package: htmlwidgets&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 'htmlwidgets'&lt;BR /&gt;2: In libraryRequireInstall("htmlwidgets") :&lt;BR /&gt;*** The package: 'htmlwidgets' was not installed ***&lt;BR /&gt;Loading required package: nloptr&lt;BR /&gt;Loading required package: seriation&lt;BR /&gt;Loading required package: NbClust&lt;BR /&gt;Loading required package: cluster&lt;BR /&gt;Loading required package: car&lt;BR /&gt;Loading required package: scales&lt;BR /&gt;Loading required package: fpc&lt;BR /&gt;Loading required package: mclust&lt;BR /&gt;Loading required package: apcluster&lt;BR /&gt;Loading required package: vegan&lt;BR /&gt;Loading required package: Redmonder&lt;BR /&gt;Loading required package: ggplot2&lt;BR /&gt;Loading required package: plotly&lt;BR /&gt;Loading required package: ggplot2&lt;BR /&gt;Error: could not find function "ggplot"&lt;BR /&gt;Execution halted&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;User ID:&lt;BR /&gt;69cc8715-c05c-40f0-a6c7-2dcc30e3b6df&lt;/P&gt;&lt;P&gt;Session ID:&lt;BR /&gt;28a151aa-7f6c-4296-bf40-89ccc9361122&lt;/P&gt;&lt;P&gt;Telemetry Enabled:&lt;BR /&gt;True&lt;/P&gt;&lt;P&gt;Model Default Mode:&lt;BR /&gt;Import&lt;/P&gt;&lt;P&gt;Snapshot Trace Logs:&lt;BR /&gt;C:\Users\User\AppData\Local\Microsoft\Power BI Desktop\FrownSnapShot500869229.zip&lt;/P&gt;&lt;P&gt;Performance Trace Logs:&lt;BR /&gt;C:\Users\User\AppData\Local\Microsoft\Power BI Desktop\PerformanceTraces.zip&lt;/P&gt;&lt;P&gt;Disabled Preview Features:&lt;BR /&gt;PBI_shapeMapVisualEnabled&lt;BR /&gt;PBI_EnableReportTheme&lt;BR /&gt;PBI_numericSlicerEnabled&lt;BR /&gt;PBI_SpanishLinguisticsEnabled&lt;BR /&gt;PBI_PbiServiceLiveConnect&lt;BR /&gt;PBI_daxTemplatesEnabled&lt;BR /&gt;CustomConnectors&lt;/P&gt;&lt;P&gt;Disabled DirectQuery Options:&lt;BR /&gt;PBI_DirectQuery_Unrestricted&lt;/P&gt;&lt;P&gt;Cloud:&lt;BR /&gt;GlobalCloud&lt;/P&gt;&lt;P&gt;Activity ID:&lt;BR /&gt;null&lt;/P&gt;&lt;P&gt;Time:&lt;BR /&gt;Fri Jul 28 2017 11:02:48 GMT+0700 (SE Asia Standard Time)&lt;/P&gt;&lt;P&gt;Client Error Code:&lt;BR /&gt;ServiceErrorToClientError&lt;/P&gt;&lt;P&gt;Error Details:&lt;BR /&gt;R script error.&lt;BR /&gt;Loading required package: XML&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 'XML'&lt;BR /&gt;2: In libraryRequireInstall("XML") :&lt;BR /&gt;*** The package: 'XML' was not installed ***&lt;BR /&gt;Loading required package: htmlwidgets&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 'htmlwidgets'&lt;BR /&gt;2: In libraryRequireInstall("htmlwidgets") :&lt;BR /&gt;*** The package: 'htmlwidgets' was not installed ***&lt;BR /&gt;Loading required package: nloptr&lt;BR /&gt;Loading required package: seriation&lt;BR /&gt;Loading required package: NbClust&lt;BR /&gt;Loading required package: cluster&lt;BR /&gt;Loading required package: car&lt;BR /&gt;Loading required package: scales&lt;BR /&gt;Loading required package: fpc&lt;BR /&gt;Loading required package: mclust&lt;BR /&gt;Loading required package: apcluster&lt;BR /&gt;Loading required package: vegan&lt;BR /&gt;Loading required package: Redmonder&lt;BR /&gt;Loading required package: ggplot2&lt;BR /&gt;Loading required package: plotly&lt;BR /&gt;Loading required package: ggplot2&lt;BR /&gt;Error: could not find function "ggplot"&lt;BR /&gt;Execution halted&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Stack Trace:&lt;BR /&gt;Microsoft.PowerBI.ExploreServiceCommon.ScriptHandlerException: R script error.&lt;BR /&gt;Loading required package: XML&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 'XML'&lt;BR /&gt;2: In libraryRequireInstall("XML") :&lt;BR /&gt;*** The package: 'XML' was not installed ***&lt;BR /&gt;Loading required package: htmlwidgets&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 'htmlwidgets'&lt;BR /&gt;2: In libraryRequireInstall("htmlwidgets") :&lt;BR /&gt;*** The package: 'htmlwidgets' was not installed ***&lt;BR /&gt;Loading required package: nloptr&lt;BR /&gt;Loading required package: seriation&lt;BR /&gt;Loading required package: NbClust&lt;BR /&gt;Loading required package: cluster&lt;BR /&gt;Loading required package: car&lt;BR /&gt;Loading required package: scales&lt;BR /&gt;Loading required package: fpc&lt;BR /&gt;Loading required package: mclust&lt;BR /&gt;Loading required package: apcluster&lt;BR /&gt;Loading required package: vegan&lt;BR /&gt;Loading required package: Redmonder&lt;BR /&gt;Loading required package: ggplot2&lt;BR /&gt;Loading required package: plotly&lt;BR /&gt;Loading required package: ggplot2&lt;BR /&gt;Error: could not find function "ggplot"&lt;BR /&gt;Execution halted&lt;BR /&gt;---&amp;gt; Microsoft.PowerBI.Radio.RScriptRuntimeException: R script error.&lt;BR /&gt;Loading required package: XML&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 'XML'&lt;BR /&gt;2: In libraryRequireInstall("XML") :&lt;BR /&gt;*** The package: 'XML' was not installed ***&lt;BR /&gt;Loading required package: htmlwidgets&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 'htmlwidgets'&lt;BR /&gt;2: In libraryRequireInstall("htmlwidgets") :&lt;BR /&gt;*** The package: 'htmlwidgets' was not installed ***&lt;BR /&gt;Loading required package: nloptr&lt;BR /&gt;Loading required package: seriation&lt;BR /&gt;Loading required package: NbClust&lt;BR /&gt;Loading required package: cluster&lt;BR /&gt;Loading required package: car&lt;BR /&gt;Loading required package: scales&lt;BR /&gt;Loading required package: fpc&lt;BR /&gt;Loading required package: mclust&lt;BR /&gt;Loading required package: apcluster&lt;BR /&gt;Loading required package: vegan&lt;BR /&gt;Loading required package: Redmonder&lt;BR /&gt;Loading required package: ggplot2&lt;BR /&gt;Loading required package: plotly&lt;BR /&gt;Loading required package: ggplot2&lt;BR /&gt;Error: could not find function "ggplot"&lt;BR /&gt;Execution halted&lt;/P&gt;&lt;P&gt;at Microsoft.PowerBI.Radio.RScriptWrapper.RunScript(String originalScript, Int32 timeoutMs)&lt;BR /&gt;at Microsoft.PowerBI.Client.Windows.R.RScriptHandler.GenerateVisual(ScriptHandlerOptions options)&lt;BR /&gt;--- End of inner exception stack trace ---&lt;BR /&gt;at Microsoft.PowerBI.Client.Windows.R.RScriptHandler.GenerateVisual(ScriptHandlerOptions options)&lt;BR /&gt;at Microsoft.PowerBI.ExploreServiceCommon.ScriptVisualCommandFlow.RunInternal(Stream dataShapeResultStream, QueryBindingDescriptor&amp;amp; bindingDescriptor)&lt;BR /&gt;at Microsoft.PowerBI.ExploreServiceCommon.ScriptVisualCommandFlow.Run(Stream dataShapeResultStream, QueryBindingDescriptor&amp;amp; bindingDescriptor)&lt;BR /&gt;at Microsoft.PowerBI.ExploreHost.SemanticQuery.ExecuteSemanticQueryFlow.TransformDataShapeResult(QueryCommand transformCommand, String dataShapeId, SemanticQueryDataShapeCommand command, Stream dataShapeResultStream, QueryBindingDescriptor&amp;amp; bindingDescriptor)&lt;BR /&gt;at Microsoft.PowerBI.ExploreHost.SemanticQuery.ExecuteSemanticQueryFlow.ProcessAndWriteDataQuery(IQueryResultDataWriter queryResultDataWriter, DataShapeGenerationContext dsqGenContext, EntityDataModel model, DataQuery query, ServiceErrorStatusCode&amp;amp; serviceErrorStatusCode)&lt;BR /&gt;at Microsoft.PowerBI.ExploreHost.SemanticQuery.ExecuteSemanticQueryFlow.ProcessAndWriteSemanticQueryCommands(IQueryResultsWriter queryResultsWriter, ExecuteSemanticQueryRequest request, IConceptualSchema conceptualSchema, EntityDataModel model)&lt;/P&gt;&lt;P&gt;DPI Scale:&lt;BR /&gt;100%&lt;/P&gt;&lt;P&gt;Supported Services:&lt;BR /&gt;Power BI&lt;/P&gt;&lt;P&gt;Formulas:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;section Section1;&lt;/P&gt;&lt;P&gt;shared #"2014-2016" = let&lt;BR /&gt;Source = Excel.Workbook(File.Contents("D:\Skripsi\TMC Polda Metro Jaya 2014-2016\----DATA FIX CLEAR 2014-2016\DATA KECELAKAAN TWITTER 2014 -2016 FIX -2.xlsx"), null, true),&lt;BR /&gt;Sheet1_Sheet = Source{[Item="Sheet1",Kind="Sheet"]}[Data],&lt;BR /&gt;#"Promoted Headers" = Table.PromoteHeaders(Sheet1_Sheet),&lt;BR /&gt;#"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"date", type datetime}, {"retweets", Int64.Type}, {"favorites", Int64.Type}, {"text", type text}, {"waktu", type datetime}, {"Place", type text}, {"City", type text}, {"Jenis Kendaraan", type text}}),&lt;BR /&gt;#"Removed Duplicates" = Table.Distinct(#"Changed Type", {"text"})&lt;BR /&gt;in&lt;BR /&gt;#"Removed Duplicates";&lt;/P&gt;&lt;P&gt;shared #"2014" = let&lt;BR /&gt;Source = Excel.Workbook(File.Contents("D:\Skripsi\TMC Polda Metro Jaya 2014-2016\----DATA FIX CLEAR 2014-2016\DATA KECELAKAAN TWITTER 2014 FIX -2.xlsx"), null, true),&lt;BR /&gt;Sheet1_Sheet = Source{[Item="Sheet1",Kind="Sheet"]}[Data],&lt;BR /&gt;#"Promoted Headers" = Table.PromoteHeaders(Sheet1_Sheet),&lt;BR /&gt;#"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"date", type datetime}, {"retweets", Int64.Type}, {"favorites", Int64.Type}, {"text", type text}, {"waktu", type datetime}, {"Place", type text}, {"City", type text}, {"Jenis Kendaraan", type text}}),&lt;BR /&gt;#"Removed Duplicates" = Table.Distinct(#"Changed Type", {"text"})&lt;BR /&gt;in&lt;BR /&gt;#"Removed Duplicates";&lt;/P&gt;&lt;P&gt;shared #"2015" = let&lt;BR /&gt;Source = Excel.Workbook(File.Contents("D:\Skripsi\TMC Polda Metro Jaya 2014-2016\----DATA FIX CLEAR 2014-2016\DATA KECELAKAAN TWITTER 2015 FIX - 2.xlsx"), null, true),&lt;BR /&gt;Sheet1_Sheet = Source{[Item="Sheet1",Kind="Sheet"]}[Data],&lt;BR /&gt;#"Promoted Headers" = Table.PromoteHeaders(Sheet1_Sheet),&lt;BR /&gt;#"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"date", type datetime}, {"retweets", Int64.Type}, {"favorites", Int64.Type}, {"text", type text}, {"waktu", type datetime}, {"Place", type text}, {"City", type text}, {"Jenis Kendaraan", type text}}),&lt;BR /&gt;#"Removed Duplicates" = Table.Distinct(#"Changed Type", {"text"})&lt;BR /&gt;in&lt;BR /&gt;#"Removed Duplicates";&lt;/P&gt;&lt;P&gt;shared #"2016" = let&lt;BR /&gt;Source = Excel.Workbook(File.Contents("D:\Skripsi\TMC Polda Metro Jaya 2014-2016\----DATA FIX CLEAR 2014-2016\DATA KECELAKAAN TWITTER 2016 FIX -2.xlsx"), null, true),&lt;BR /&gt;Sheet1_Sheet = Source{[Item="Sheet1",Kind="Sheet"]}[Data],&lt;BR /&gt;#"Promoted Headers" = Table.PromoteHeaders(Sheet1_Sheet),&lt;BR /&gt;#"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"date", type datetime}, {"retweets", Int64.Type}, {"favorites", Int64.Type}, {"text", type text}, {"waktu", type datetime}, {"Place", type text}, {"City", type text}, {"Jenis Kendaraan", type text}}),&lt;BR /&gt;#"Removed Duplicates" = Table.Distinct(#"Changed Type", {"text"})&lt;BR /&gt;in&lt;BR /&gt;#"Removed Duplicates"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the eror screenshot :&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 04:41:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/220726#M11854</guid>
      <dc:creator>dean</dc:creator>
      <dc:date>2017-07-28T04:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: cannot use custom visual with R.</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/221924#M11885</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="37417" data-lia-user-login="dean" class="lia-mention lia-mention-user"&gt;dean&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From this &lt;A href="https://github.com/Microsoft/PowerBI-visuals-clustering-kmeans" target="_blank"&gt;article&lt;/A&gt;, Clustering custom visual supports R versions:&amp;nbsp;&amp;nbsp;R 3.3.1, R 3.3.0, MRO 3.3.1, MRO 3.3.0, MRO 3.2.2. Please try to update the R version to supported version. Also to enable this R powered visual, we need to install R packages: nloptr, seriation, pbkrtest,NbClust, cluster, car, scales, fpc, mclust, apcluster, vegan.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Based on my test, download the sample from &lt;A href="https://visuals.azureedge.net/app-store/PowerBI-visuals-clustering-kmeans-1.0.3.1.0.3.0.pbix" target="_blank"&gt;here &lt;/A&gt;can work fine. You can try to run the same R version as ours as well to test it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;QiuyunYu&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2017 07:41:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/221924#M11885</guid>
      <dc:creator>v-qiuyu-msft</dc:creator>
      <dc:date>2017-07-31T07:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: cannot use custom visual with R.</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/223600#M11959</link>
      <description>&lt;P&gt;thanks &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="6970" data-lia-user-login="v-qiuyu-msft" class="lia-mention lia-mention-user"&gt;v-qiuyu-msft&lt;/a&gt;&amp;nbsp;i already try to install package in R:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;nloptr, seriation, pbkrtest,NbClust, cluster, car, scales, fpc, mclust, apcluster, vegan&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but i still get this error? do i still need install some package or change r version?&lt;BR /&gt;&lt;BR /&gt;i think this is the main/only error i attached the picture:&lt;BR /&gt;&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;this is the full eror details :&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;Feedback Type:&lt;BR /&gt;Frown (Error)&lt;/P&gt;&lt;P&gt;Timestamp:&lt;BR /&gt;2017-08-02T09:06:33.7194602Z&lt;/P&gt;&lt;P&gt;Local Time:&lt;BR /&gt;2017-08-02T16:06:33.7194602+07:00&lt;/P&gt;&lt;P&gt;Product Version:&lt;BR /&gt;2.48.4792.721 (PBIDesktop) (x64)&lt;/P&gt;&lt;P&gt;Release:&lt;BR /&gt;July 2017&lt;/P&gt;&lt;P&gt;IE Version:&lt;BR /&gt;11.483.15063.0&lt;/P&gt;&lt;P&gt;OS Version:&lt;BR /&gt;Microsoft Windows NT 10.0.15063.0 (x64 en-US)&lt;/P&gt;&lt;P&gt;CLR Version:&lt;BR /&gt;4.6.2. or later [Release Number = 460798]&lt;/P&gt;&lt;P&gt;Workbook Package Info:&lt;BR /&gt;1* - id-ID, Query Groups: 0, fastCombine: Disabled, runBackgroundAnalysis: True.&lt;/P&gt;&lt;P&gt;Peak Working Set:&lt;BR /&gt;378 MB&lt;/P&gt;&lt;P&gt;Private Memory:&lt;BR /&gt;270 MB&lt;/P&gt;&lt;P&gt;Peak Virtual Memory:&lt;BR /&gt;33.9 GB&lt;/P&gt;&lt;P&gt;Error Message:&lt;BR /&gt;R script error.&lt;BR /&gt;Loading required package: XML&lt;BR /&gt;Loading required package: methods&lt;BR /&gt;Loading required package: htmlwidgets&lt;BR /&gt;Loading required package: nloptr&lt;BR /&gt;Loading required package: seriation&lt;BR /&gt;Loading required package: NbClust&lt;BR /&gt;Loading required package: cluster&lt;BR /&gt;Loading required package: car&lt;BR /&gt;Loading required package: scales&lt;BR /&gt;Loading required package: fpc&lt;BR /&gt;Loading required package: mclust&lt;BR /&gt;Package 'mclust' version 5.3&lt;BR /&gt;Type 'citation("mclust")' for citing this R package in publications.&lt;BR /&gt;Loading required package: apcluster&lt;/P&gt;&lt;P&gt;Attaching package: 'apcluster'&lt;/P&gt;&lt;P&gt;The following object is masked from 'package:stats':&lt;/P&gt;&lt;P&gt;heatmap&lt;/P&gt;&lt;P&gt;Loading required package: vegan&lt;BR /&gt;Loading required package: permute&lt;/P&gt;&lt;P&gt;Attaching package: 'permute'&lt;/P&gt;&lt;P&gt;The following object is masked from 'package:seriation':&lt;/P&gt;&lt;P&gt;permute&lt;/P&gt;&lt;P&gt;Loading required package: lattice&lt;/P&gt;&lt;P&gt;Attaching package: 'lattice'&lt;/P&gt;&lt;P&gt;The following object is masked from 'package:seriation':&lt;/P&gt;&lt;P&gt;panel.lines&lt;/P&gt;&lt;P&gt;This is vegan 2.4-3&lt;BR /&gt;Loading required package: Redmonder&lt;BR /&gt;Loading required package: ggplot2&lt;BR /&gt;Loading required package: plotly&lt;BR /&gt;Error in redmonder.pal(n, "qPBI") :&lt;BR /&gt;could not find function "redmonder.pal"&lt;BR /&gt;Calls: myPallete&lt;BR /&gt;Execution halted&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;User ID:&lt;BR /&gt;69cc8715-c05c-40f0-a6c7-2dcc30e3b6df&lt;/P&gt;&lt;P&gt;Session ID:&lt;BR /&gt;07f2eebe-eb12-4db9-b9e2-e93700315866&lt;/P&gt;&lt;P&gt;Telemetry Enabled:&lt;BR /&gt;True&lt;/P&gt;&lt;P&gt;Model Default Mode:&lt;BR /&gt;Import&lt;/P&gt;&lt;P&gt;Snapshot Trace Logs:&lt;BR /&gt;C:\Users\User\AppData\Local\Microsoft\Power BI Desktop\FrownSnapShot585989286.zip&lt;/P&gt;&lt;P&gt;Performance Trace Logs:&lt;BR /&gt;C:\Users\User\AppData\Local\Microsoft\Power BI Desktop\PerformanceTraces.zip&lt;/P&gt;&lt;P&gt;Disabled Preview Features:&lt;BR /&gt;PBI_shapeMapVisualEnabled&lt;BR /&gt;PBI_EnableReportTheme&lt;BR /&gt;PBI_numericSlicerEnabled&lt;BR /&gt;PBI_SpanishLinguisticsEnabled&lt;BR /&gt;PBI_PbiServiceLiveConnect&lt;BR /&gt;PBI_daxTemplatesEnabled&lt;BR /&gt;CustomConnectors&lt;/P&gt;&lt;P&gt;Disabled DirectQuery Options:&lt;BR /&gt;PBI_DirectQuery_Unrestricted&lt;/P&gt;&lt;P&gt;Cloud:&lt;BR /&gt;GlobalCloud&lt;/P&gt;&lt;P&gt;Activity ID:&lt;BR /&gt;null&lt;/P&gt;&lt;P&gt;Time:&lt;BR /&gt;Wed Aug 02 2017 16:06:31 GMT+0700 (SE Asia Standard Time)&lt;/P&gt;&lt;P&gt;Client Error Code:&lt;BR /&gt;ServiceErrorToClientError&lt;/P&gt;&lt;P&gt;Error Details:&lt;BR /&gt;R script error.&lt;BR /&gt;Loading required package: XML&lt;BR /&gt;Loading required package: methods&lt;BR /&gt;Loading required package: htmlwidgets&lt;BR /&gt;Loading required package: nloptr&lt;BR /&gt;Loading required package: seriation&lt;BR /&gt;Loading required package: NbClust&lt;BR /&gt;Loading required package: cluster&lt;BR /&gt;Loading required package: car&lt;BR /&gt;Loading required package: scales&lt;BR /&gt;Loading required package: fpc&lt;BR /&gt;Loading required package: mclust&lt;BR /&gt;Package 'mclust' version 5.3&lt;BR /&gt;Type 'citation("mclust")' for citing this R package in publications.&lt;BR /&gt;Loading required package: apcluster&lt;/P&gt;&lt;P&gt;Attaching package: 'apcluster'&lt;/P&gt;&lt;P&gt;The following object is masked from 'package:stats':&lt;/P&gt;&lt;P&gt;heatmap&lt;/P&gt;&lt;P&gt;Loading required package: vegan&lt;BR /&gt;Loading required package: permute&lt;/P&gt;&lt;P&gt;Attaching package: 'permute'&lt;/P&gt;&lt;P&gt;The following object is masked from 'package:seriation':&lt;/P&gt;&lt;P&gt;permute&lt;/P&gt;&lt;P&gt;Loading required package: lattice&lt;/P&gt;&lt;P&gt;Attaching package: 'lattice'&lt;/P&gt;&lt;P&gt;The following object is masked from 'package:seriation':&lt;/P&gt;&lt;P&gt;panel.lines&lt;/P&gt;&lt;P&gt;This is vegan 2.4-3&lt;BR /&gt;Loading required package: Redmonder&lt;BR /&gt;Loading required package: ggplot2&lt;BR /&gt;Loading required package: plotly&lt;BR /&gt;Error in redmonder.pal(n, "qPBI") :&lt;BR /&gt;could not find function "redmonder.pal"&lt;BR /&gt;Calls: myPallete&lt;BR /&gt;Execution halted&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Stack Trace:&lt;BR /&gt;Microsoft.PowerBI.ExploreServiceCommon.ScriptHandlerException: R script error.&lt;BR /&gt;Loading required package: XML&lt;BR /&gt;Loading required package: methods&lt;BR /&gt;Loading required package: htmlwidgets&lt;BR /&gt;Loading required package: nloptr&lt;BR /&gt;Loading required package: seriation&lt;BR /&gt;Loading required package: NbClust&lt;BR /&gt;Loading required package: cluster&lt;BR /&gt;Loading required package: car&lt;BR /&gt;Loading required package: scales&lt;BR /&gt;Loading required package: fpc&lt;BR /&gt;Loading required package: mclust&lt;BR /&gt;Package 'mclust' version 5.3&lt;BR /&gt;Type 'citation("mclust")' for citing this R package in publications.&lt;BR /&gt;Loading required package: apcluster&lt;/P&gt;&lt;P&gt;Attaching package: 'apcluster'&lt;/P&gt;&lt;P&gt;The following object is masked from 'package:stats':&lt;/P&gt;&lt;P&gt;heatmap&lt;/P&gt;&lt;P&gt;Loading required package: vegan&lt;BR /&gt;Loading required package: permute&lt;/P&gt;&lt;P&gt;Attaching package: 'permute'&lt;/P&gt;&lt;P&gt;The following object is masked from 'package:seriation':&lt;/P&gt;&lt;P&gt;permute&lt;/P&gt;&lt;P&gt;Loading required package: lattice&lt;/P&gt;&lt;P&gt;Attaching package: 'lattice'&lt;/P&gt;&lt;P&gt;The following object is masked from 'package:seriation':&lt;/P&gt;&lt;P&gt;panel.lines&lt;/P&gt;&lt;P&gt;This is vegan 2.4-3&lt;BR /&gt;Loading required package: Redmonder&lt;BR /&gt;Loading required package: ggplot2&lt;BR /&gt;Loading required package: plotly&lt;BR /&gt;Error in redmonder.pal(n, "qPBI") :&lt;BR /&gt;could not find function "redmonder.pal"&lt;BR /&gt;Calls: myPallete&lt;BR /&gt;Execution halted&lt;BR /&gt;---&amp;gt; Microsoft.PowerBI.Radio.RScriptRuntimeException: R script error.&lt;BR /&gt;Loading required package: XML&lt;BR /&gt;Loading required package: methods&lt;BR /&gt;Loading required package: htmlwidgets&lt;BR /&gt;Loading required package: nloptr&lt;BR /&gt;Loading required package: seriation&lt;BR /&gt;Loading required package: NbClust&lt;BR /&gt;Loading required package: cluster&lt;BR /&gt;Loading required package: car&lt;BR /&gt;Loading required package: scales&lt;BR /&gt;Loading required package: fpc&lt;BR /&gt;Loading required package: mclust&lt;BR /&gt;Package 'mclust' version 5.3&lt;BR /&gt;Type 'citation("mclust")' for citing this R package in publications.&lt;BR /&gt;Loading required package: apcluster&lt;/P&gt;&lt;P&gt;Attaching package: 'apcluster'&lt;/P&gt;&lt;P&gt;The following object is masked from 'package:stats':&lt;/P&gt;&lt;P&gt;heatmap&lt;/P&gt;&lt;P&gt;Loading required package: vegan&lt;BR /&gt;Loading required package: permute&lt;/P&gt;&lt;P&gt;Attaching package: 'permute'&lt;/P&gt;&lt;P&gt;The following object is masked from 'package:seriation':&lt;/P&gt;&lt;P&gt;permute&lt;/P&gt;&lt;P&gt;Loading required package: lattice&lt;/P&gt;&lt;P&gt;Attaching package: 'lattice'&lt;/P&gt;&lt;P&gt;The following object is masked from 'package:seriation':&lt;/P&gt;&lt;P&gt;panel.lines&lt;/P&gt;&lt;P&gt;This is vegan 2.4-3&lt;BR /&gt;Loading required package: Redmonder&lt;BR /&gt;Loading required package: ggplot2&lt;BR /&gt;Loading required package: plotly&lt;BR /&gt;Error in redmonder.pal(n, "qPBI") :&lt;BR /&gt;could not find function "redmonder.pal"&lt;BR /&gt;Calls: myPallete&lt;BR /&gt;Execution halted&lt;/P&gt;&lt;P&gt;at Microsoft.PowerBI.Radio.RScriptWrapper.RunScript(String originalScript, Int32 timeoutMs)&lt;BR /&gt;at Microsoft.PowerBI.Client.Windows.R.RScriptHandler.GenerateVisual(ScriptHandlerOptions options)&lt;BR /&gt;--- End of inner exception stack trace ---&lt;BR /&gt;at Microsoft.PowerBI.Client.Windows.R.RScriptHandler.GenerateVisual(ScriptHandlerOptions options)&lt;BR /&gt;at Microsoft.PowerBI.ExploreServiceCommon.ScriptVisualCommandFlow.RunInternal(Stream dataShapeResultStream, QueryBindingDescriptor&amp;amp; bindingDescriptor)&lt;BR /&gt;at Microsoft.PowerBI.ExploreServiceCommon.ScriptVisualCommandFlow.Run(Stream dataShapeResultStream, QueryBindingDescriptor&amp;amp; bindingDescriptor)&lt;BR /&gt;at Microsoft.PowerBI.ExploreHost.SemanticQuery.ExecuteSemanticQueryFlow.TransformDataShapeResult(QueryCommand transformCommand, String dataShapeId, SemanticQueryDataShapeCommand command, Stream dataShapeResultStream, QueryBindingDescriptor&amp;amp; bindingDescriptor)&lt;BR /&gt;at Microsoft.PowerBI.ExploreHost.SemanticQuery.ExecuteSemanticQueryFlow.ProcessAndWriteDataQuery(IQueryResultDataWriter queryResultDataWriter, DataShapeGenerationContext dsqGenContext, EntityDataModel model, DataQuery query, ServiceErrorStatusCode&amp;amp; serviceErrorStatusCode)&lt;BR /&gt;at Microsoft.PowerBI.ExploreHost.SemanticQuery.ExecuteSemanticQueryFlow.ProcessAndWriteSemanticQueryCommands(IQueryResultsWriter queryResultsWriter, ExecuteSemanticQueryRequest request, IConceptualSchema conceptualSchema, EntityDataModel model)&lt;/P&gt;&lt;P&gt;DPI Scale:&lt;BR /&gt;100%&lt;/P&gt;&lt;P&gt;Supported Services:&lt;BR /&gt;Power BI&lt;/P&gt;&lt;P&gt;Formulas:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;section Section1;&lt;/P&gt;&lt;P&gt;shared Sheet1 = let&lt;BR /&gt;Source = Excel.Workbook(File.Contents("D:\Skripsi\TMC Polda Metro Jaya 2014-2016\----DATA FIX CLEAR 2014-2016\DATA KECELAKAAN TWITTER 2014 -2016 FIX -2(untuk k-means).xlsx"), null, true),&lt;BR /&gt;Sheet1_Sheet = Source{[Item="Sheet1",Kind="Sheet"]}[Data],&lt;BR /&gt;#"Promoted Headers" = Table.PromoteHeaders(Sheet1_Sheet, [PromoteAllScalars=true]),&lt;BR /&gt;#"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"date", type datetime}, {"text", type text}, {"waktu", type datetime}, {"Waktu", type text}, {"City", type text}, {"Jenis Kendaraan", type text}, {"Vektor JK", Int64.Type}, {"Vektor Waktu", Int64.Type}, {"Vektor JBDTBK", Int64.Type}}),&lt;BR /&gt;#"Renamed Columns" = Table.RenameColumns(#"Changed Type",{{"Waktu", "Waktu.1"}}),&lt;BR /&gt;#"Removed Duplicates" = Table.Distinct(#"Renamed Columns", {"text"})&lt;BR /&gt;in&lt;BR /&gt;#"Removed Duplicates";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 09:12:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/223600#M11959</guid>
      <dc:creator>dean</dc:creator>
      <dc:date>2017-08-02T09:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: cannot use custom visual with R.</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/224604#M12001</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="37417" data-lia-user-login="dean" class="lia-mention lia-mention-user"&gt;dean&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please update the R version to supported version R 3.3.1, R 3.3.0, MRO 3.3.1, MRO 3.3.0, MRO 3.2.2 then test again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If issue persists, please enable desktop trace log, repeat steps&amp;nbsp;until error occurs, share&amp;nbsp;trace log files with us.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Qiuyun Yu&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 09:26:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/224604#M12001</guid>
      <dc:creator>v-qiuyu-msft</dc:creator>
      <dc:date>2017-08-03T09:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: cannot use custom visual with R.</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/367306#M15949</link>
      <description>&lt;P&gt;I have the same problem, and I have R version 3.4.3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;details:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Feedback Type:&lt;BR /&gt;Frown (Error)&lt;/P&gt;&lt;P&gt;Timestamp:&lt;BR /&gt;2018-02-28T19:58:44.1275015Z&lt;/P&gt;&lt;P&gt;Local Time:&lt;BR /&gt;2018-02-28T11:58:44.1275015-08:00&lt;/P&gt;&lt;P&gt;Session ID:&lt;BR /&gt;ecac03b8-5f6c-41c6-b718-f952fd5d2555&lt;/P&gt;&lt;P&gt;Release:&lt;BR /&gt;February, 2018&lt;/P&gt;&lt;P&gt;Product Version:&lt;BR /&gt;2.55.5010.641 (PBIDesktop) (x64)&lt;/P&gt;&lt;P&gt;Error Message:&lt;BR /&gt;R script error.&lt;BR /&gt;Loading required package: XML&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 'XML'&lt;BR /&gt;2: In libraryRequireInstall("XML") :&lt;BR /&gt;*** The package: 'XML' was not installed ***&lt;BR /&gt;Loading required package: htmlwidgets&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 'htmlwidgets'&lt;BR /&gt;2: In libraryRequireInstall("htmlwidgets") :&lt;BR /&gt;*** The package: 'htmlwidgets' was not installed ***&lt;BR /&gt;Loading required package: DT&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 'DT'&lt;BR /&gt;2: In libraryRequireInstall("DT") :&lt;BR /&gt;*** The package: 'DT' was not installed ***&lt;BR /&gt;Error in datatable(Values, class = "cell-border compact stripe hover", :&lt;BR /&gt;could not find function "datatable"&lt;BR /&gt;Execution halted&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;OS Version:&lt;BR /&gt;Microsoft Windows NT 6.1.7601 Service Pack 1 (x64 en-US)&lt;/P&gt;&lt;P&gt;CLR Version:&lt;BR /&gt;4.6.1 or later [Release Number = 394271]&lt;/P&gt;&lt;P&gt;Peak Virtual Memory:&lt;BR /&gt;4.06 GB&lt;/P&gt;&lt;P&gt;Private Memory:&lt;BR /&gt;361 MB&lt;/P&gt;&lt;P&gt;Peak Working Set:&lt;BR /&gt;460 MB&lt;/P&gt;&lt;P&gt;IE Version:&lt;BR /&gt;11.0.9600.18920&lt;/P&gt;&lt;P&gt;User ID:&lt;BR /&gt;64fa99cc-aa2e-4634-a742-accdc87a11a6&lt;/P&gt;&lt;P&gt;Workbook Package Info:&lt;BR /&gt;1* - en-US, Query Groups: 0, fastCombine: Disabled, runBackgroundAnalysis: True.&lt;/P&gt;&lt;P&gt;Telemetry Enabled:&lt;BR /&gt;True&lt;/P&gt;&lt;P&gt;Model Default Mode:&lt;BR /&gt;Import&lt;/P&gt;&lt;P&gt;Snapshot Trace Logs:&lt;BR /&gt;C:\Users\duncan.fairweather\AppData\Local\Microsoft\Power BI Desktop\FrownSnapShot471184532.zip&lt;/P&gt;&lt;P&gt;Performance Trace Logs:&lt;BR /&gt;C:\Users\duncan.fairweather\AppData\Local\Microsoft\Power BI Desktop\PerformanceTraces.zip&lt;/P&gt;&lt;P&gt;Enabled Preview Features:&lt;BR /&gt;PBI_shapeMapVisualEnabled&lt;BR /&gt;PBI_EnableReportTheme&lt;BR /&gt;PBI_numericSlicerEnabled&lt;BR /&gt;CustomConnectors&lt;BR /&gt;PBI_reportBookmarks&lt;BR /&gt;PBI_qnaExplore&lt;BR /&gt;PBI_variationUIChange&lt;BR /&gt;PBI_customVisualsGallery&lt;BR /&gt;PBI_HanaV2&lt;/P&gt;&lt;P&gt;Disabled Preview Features:&lt;BR /&gt;PBI_SpanishLinguisticsEnabled&lt;BR /&gt;PBI_AdobeAnalytics&lt;/P&gt;&lt;P&gt;Disabled DirectQuery Options:&lt;BR /&gt;PBI_DirectQuery_Unrestricted&lt;BR /&gt;TreatHanaAsRelationalSource&lt;/P&gt;&lt;P&gt;Cloud:&lt;BR /&gt;GlobalCloud&lt;/P&gt;&lt;P&gt;Activity ID:&lt;BR /&gt;null&lt;/P&gt;&lt;P&gt;Time:&lt;BR /&gt;Wed Feb 28 2018 11:57:38 GMT-0800 (Pacific Standard Time)&lt;/P&gt;&lt;P&gt;Client Error Code:&lt;BR /&gt;ServiceErrorToClientError&lt;/P&gt;&lt;P&gt;Error Details:&lt;BR /&gt;R script error.&lt;BR /&gt;Loading required package: XML&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 'XML'&lt;BR /&gt;2: In libraryRequireInstall("XML") :&lt;BR /&gt;*** The package: 'XML' was not installed ***&lt;BR /&gt;Loading required package: htmlwidgets&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 'htmlwidgets'&lt;BR /&gt;2: In libraryRequireInstall("htmlwidgets") :&lt;BR /&gt;*** The package: 'htmlwidgets' was not installed ***&lt;BR /&gt;Loading required package: DT&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 'DT'&lt;BR /&gt;2: In libraryRequireInstall("DT") :&lt;BR /&gt;*** The package: 'DT' was not installed ***&lt;BR /&gt;Error in datatable(Values, class = "cell-border compact stripe hover", :&lt;BR /&gt;could not find function "datatable"&lt;BR /&gt;Execution halted&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Stack Trace:&lt;BR /&gt;Microsoft.PowerBI.ExploreServiceCommon.ScriptHandlerException: R script error.&lt;BR /&gt;Loading required package: XML&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 'XML'&lt;BR /&gt;2: In libraryRequireInstall("XML") :&lt;BR /&gt;*** The package: 'XML' was not installed ***&lt;BR /&gt;Loading required package: htmlwidgets&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 'htmlwidgets'&lt;BR /&gt;2: In libraryRequireInstall("htmlwidgets") :&lt;BR /&gt;*** The package: 'htmlwidgets' was not installed ***&lt;BR /&gt;Loading required package: DT&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 'DT'&lt;BR /&gt;2: In libraryRequireInstall("DT") :&lt;BR /&gt;*** The package: 'DT' was not installed ***&lt;BR /&gt;Error in datatable(Values, class = "cell-border compact stripe hover", :&lt;BR /&gt;could not find function "datatable"&lt;BR /&gt;Execution halted&lt;BR /&gt;---&amp;gt; Microsoft.PowerBI.Radio.RScriptRuntimeException: R script error.&lt;BR /&gt;Loading required package: XML&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 'XML'&lt;BR /&gt;2: In libraryRequireInstall("XML") :&lt;BR /&gt;*** The package: 'XML' was not installed ***&lt;BR /&gt;Loading required package: htmlwidgets&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 'htmlwidgets'&lt;BR /&gt;2: In libraryRequireInstall("htmlwidgets") :&lt;BR /&gt;*** The package: 'htmlwidgets' was not installed ***&lt;BR /&gt;Loading required package: DT&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 'DT'&lt;BR /&gt;2: In libraryRequireInstall("DT") :&lt;BR /&gt;*** The package: 'DT' was not installed ***&lt;BR /&gt;Error in datatable(Values, class = "cell-border compact stripe hover", :&lt;BR /&gt;could not find function "datatable"&lt;BR /&gt;Execution halted&lt;/P&gt;&lt;P&gt;at Microsoft.PowerBI.Radio.RScriptWrapper.RunScript(String originalScript, Int32 timeoutMs)&lt;BR /&gt;at Microsoft.PowerBI.Client.Windows.R.RScriptHandler.GenerateVisual(ScriptHandlerOptions options)&lt;BR /&gt;--- End of inner exception stack trace ---&lt;BR /&gt;at Microsoft.PowerBI.Client.Windows.R.RScriptHandler.GenerateVisual(ScriptHandlerOptions options)&lt;BR /&gt;at Microsoft.PowerBI.ExploreServiceCommon.ScriptVisualCommandFlow.RunInternal(Stream dataShapeResultStream, QueryBindingDescriptor&amp;amp; bindingDescriptor)&lt;BR /&gt;at Microsoft.PowerBI.ExploreServiceCommon.ScriptVisualCommandFlow.Run(Stream dataShapeResultStream, QueryBindingDescriptor&amp;amp; bindingDescriptor)&lt;BR /&gt;at Microsoft.PowerBI.ExploreHost.SemanticQuery.ExecuteSemanticQueryFlow.TransformDataShapeResult(QueryCommand transformCommand, SemanticQueryDataShapeCommand command, Stream dataShapeResultStream, QueryBindingDescriptor&amp;amp; bindingDescriptor)&lt;BR /&gt;at Microsoft.PowerBI.ExploreHost.SemanticQuery.ExecuteSemanticQueryFlow.ExecuteDataQuery(IQueryResultDataWriter queryResultDataWriter, EntityDataModel model, IConceptualSchema schema, DataQuery query, Int32 queryId, ServiceErrorStatusCode&amp;amp; serviceErrorStatusCode)&lt;BR /&gt;at Microsoft.PowerBI.ExploreHost.SemanticQuery.ExecuteSemanticQueryFlow.ProcessAndWriteSemanticQueryCommands(IQueryResultsWriter queryResultsWriter, ExecuteSemanticQueryRequest request, IConceptualSchema conceptualSchema, EntityDataModel model)&lt;/P&gt;&lt;P&gt;DPI Scale:&lt;BR /&gt;100%&lt;/P&gt;&lt;P&gt;Supported Services:&lt;BR /&gt;Power BI&lt;/P&gt;&lt;P&gt;Formulas:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;section Section1;&lt;/P&gt;&lt;P&gt;shared Inventory_Target_Tool = let&lt;BR /&gt;Source = Sql.Database("uswhl-sql16dev1", "tdxit_reports"),&lt;BR /&gt;dbo_Inventory_Target_Tool = Source{[Schema="dbo",Item="Inventory_Target_Tool"]}[Data]&lt;BR /&gt;in&lt;BR /&gt;dbo_Inventory_Target_Tool;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 20:06:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/367306#M15949</guid>
      <dc:creator>duncfair</dc:creator>
      <dc:date>2018-02-28T20:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: cannot use custom visual with R.</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/367369#M15953</link>
      <description>&lt;P&gt;I figured this out with some google searches.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Navigate to the bin folder within the directory where R has been installed and click R.exe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;type install.packages("XXXX") and click enter&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(where XXXX is the name of the package that the error messages show as missing)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Repeat until all the packages listed in the error have been installed.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 22:09:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/367369#M15953</guid>
      <dc:creator>duncfair</dc:creator>
      <dc:date>2018-02-28T22:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: cannot use custom visual with R.</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/373260#M16109</link>
      <description>&lt;P&gt;I am getting the same error as the ones before. What do you mean by&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Navigate to the bin folder within the directory where R has been installed and click R.exe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;type install.packages("XXXX") and click enter"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can not find R.exe in my directory.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2018 16:28:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/373260#M16109</guid>
      <dc:creator>jiler13</dc:creator>
      <dc:date>2018-03-09T16:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: cannot use custom visual with R.</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/373267#M16110</link>
      <description>&lt;P&gt;Once you install R, you should have R.exe on your machine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For me, the directory is&amp;nbsp;C:\Program Files\Microsoft\R Open\R-3.4.3\bin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you click R.exe the R window opens and you have a window where you can type commands like powershell.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Type&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;install.packages("XXXX") &lt;/SPAN&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;where XXXX is the name of the missing module and click enter.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2018 16:35:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/373267#M16110</guid>
      <dc:creator>duncfair</dc:creator>
      <dc:date>2018-03-09T16:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: cannot use custom visual with R.</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/373304#M16111</link>
      <description>&lt;P&gt;Thank you! That was very helpful! :)&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2018 17:17:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/373304#M16111</guid>
      <dc:creator>jiler13</dc:creator>
      <dc:date>2018-03-09T17:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: cannot use custom visual with R.</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/388686#M16455</link>
      <description>&lt;P&gt;hi, I tried installing the packages shown in the error. However, I am continuously getting the error for the package "htmlwidgets". Is there any special instructions to install this package? I am stuck with this package only. All other packages got installed. Kindly help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Bharath&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 12:19:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/388686#M16455</guid>
      <dc:creator>miryalab</dc:creator>
      <dc:date>2018-04-03T12:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: cannot use custom visual with R.</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/388693#M16456</link>
      <description>&lt;P&gt;hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have done the same thing to install the packages. But still I am getting the same error with htmlwidgets package. All other packages seems to be installed except this one. Is there any special guidelines that I need to follow to get rid of this error? Kindly help me on this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Bharath&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 12:28:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/388693#M16456</guid>
      <dc:creator>miryalab</dc:creator>
      <dc:date>2018-04-03T12:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: cannot use custom visual with R.</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/388883#M16462</link>
      <description>&lt;P&gt;Open r and run the following line to see if you have successfully installed all the packeages&amp;nbsp;you need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;installed.packages(lib.loc = NULL, priority = NULL, noCache = FALSE, fields = NULL, subarch = .Platform$r_arch)&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 16:07:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/388883#M16462</guid>
      <dc:creator>duncfair</dc:creator>
      <dc:date>2018-04-03T16:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: cannot use custom visual with R.</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/418901#M17226</link>
      <description>&lt;P&gt;Thank you for this. However, I just downloaded R and tried to follow this solution--I got this in R:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Warning message:&lt;BR /&gt;package 'ggplot' is not available (for R version 3.4.4).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the package needed to run the Outlier Detection plot that Microsoft JUST released in March... why would this package not be available in the most recent version of R?&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 17:29:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/418901#M17226</guid>
      <dc:creator>DataDiva</dc:creator>
      <dc:date>2018-05-16T17:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: cannot use custom visual with R.</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/418908#M17227</link>
      <description>&lt;P&gt;An update--I installed a past version of R, 3.4.1, the version the outlier that the detecting visualization says it is compabible with. Still no dice--it says there's no "ggplot" in that version either!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 17:39:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/418908#M17227</guid>
      <dc:creator>DataDiva</dc:creator>
      <dc:date>2018-05-16T17:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: cannot use custom visual with R.</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/458812#M18259</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I too got this error when trying to run a number of imported Analytical Visualisations in Power BI. It turned out to be a permissions issue. As soon as I began to run Power BI desktop in "Windows Administrator Mode" my visualisation began to work as normal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2018 13:09:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/458812#M18259</guid>
      <dc:creator>bryanmcguire</dc:creator>
      <dc:date>2018-07-10T13:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: cannot use custom visual with R.</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/565472#M20744</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;lt;type install.packages("XXXX") and click enter&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It has done the job. Thnx!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 00:10:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/565472#M20744</guid>
      <dc:creator>Odusseus</dc:creator>
      <dc:date>2018-11-14T00:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: cannot use custom visual with R.</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/720211#M23995</link>
      <description>&lt;P&gt;&lt;FONT&gt;Error Message:&lt;BR /&gt;R script error.&lt;BR /&gt;Loading required package: XML&lt;BR /&gt;Loading required package: methods&lt;BR /&gt;Warning message:&lt;BR /&gt;package 'XML' was built under R version 3.3.3&lt;BR /&gt;Loading required package: htmlwidgets&lt;BR /&gt;Warning message:&lt;BR /&gt;package 'htmlwidgets' was built under R version 3.3.3&lt;BR /&gt;Loading required package: ggplot2&lt;BR /&gt;Error in inDL(x, as.logical(local), as.logical(now), ...) :&lt;BR /&gt;&amp;nbsp; unable to load shared object 'C:/Users/Atulp/Library/rlang/libs/x64/rlang.dll':&lt;BR /&gt;&amp;nbsp; LoadLibrary failure:&amp;nbsp; The specified procedure could not be found.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2019 12:38:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/cannot-use-custom-visual-with-R/m-p/720211#M23995</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-20T12:38:52Z</dc:date>
    </item>
  </channel>
</rss>

