Reply
Frequent Visitor
Posts: 10
Registered: ‎12-01-2016
Accepted Solution

Plot_ly is now (3/2017) on the list for R packages in Power BI - I cannot get it to work.

According to this post: https://powerbi.microsoft.com/en-us/documentation/powerbi-service-r-visuals/ there are several new packages that work in Power BI.  

 

 I loaded the iris dataset by using the R connection in Power BI then writing:

iris <- iris

 

ggplot iris power bi.PNG

 

ggplot works fine. 

 

 

plot_ly iris power bi.PNG

 

plot_ly does not.

 

 

I cannot get plot_ly to work. Has anyone had success with any of the new packages from the recent announcement? 


Accepted Solutions
Super Contributor
Posts: 1,088
Registered: ‎07-17-2016

Re: Plot_ly is now (3/2017) on the list for R packages in Power BI - I cannot get it to work.

Hi @jpf5046,

 

No, they're going to announce this limitation of using plot_ly lib officially(as there is no such a article/blog that has announced it currently).Smiley Happy

 

Regards

View solution in original post


All Replies
Frequent Visitor
Posts: 10
Registered: ‎12-01-2016

Supported packages in R are not working

This is related to this post here.

 

I cannot get the supported R packages to work. The list of supported packages is here

 

I can get ggplot to work:

 

ggplot iris power bi.PNG

 

I cannot get plot_ly to work:

 

plot_ly iris power bi.PNG

 

The time to take to run is the only possible explination -- The polt_ly code takes ~5 seconds on my desktop in Rstudio. 

 

 

 

Super Contributor
Posts: 1,088
Registered: ‎07-17-2016

Re: Plot_ly is now (3/2017) on the list for R packages in Power BI - I cannot get it to work.

Hi @jpf5046,

 

Could you click the "See details" on the error visual to see the detailed error message, and post it here?Smiley Happy

 

Regards

Frequent Visitor
Posts: 10
Registered: ‎12-01-2016

Re: Plot_ly is now (3/2017) on the list for R packages in Power BI - I cannot get it to work.

@v-ljerr-msft 

 

Here is the error screen: 

 

error in power bi for R plot_ly.PNG

 

I can run this plot in Rstudio. The code it does result in a visual. 

Highlighted
Super Contributor
Posts: 1,088
Registered: ‎07-17-2016

Re: Plot_ly is now (3/2017) on the list for R packages in Power BI - I cannot get it to work.

Hi @jpf5046,

 

I have confirmed with Product Team that the ployly lib is supported as part of HTML support for R powered Custom Visuals only, not R Visuals in general currently. And they're going to announce this in a couple of weeks officially.Smiley Happy

 

Regards

Frequent Visitor
Posts: 10
Registered: ‎12-01-2016

Re: Plot_ly is now (3/2017) on the list for R packages in Power BI - I cannot get it to work.

They are going to announce that R Visuals will be able to handle plot_ly lib in a week or two? 

Super Contributor
Posts: 1,088
Registered: ‎07-17-2016

Re: Plot_ly is now (3/2017) on the list for R packages in Power BI - I cannot get it to work.

Hi @jpf5046,

 

No, they're going to announce this limitation of using plot_ly lib officially(as there is no such a article/blog that has announced it currently).Smiley Happy

 

Regards