Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
username
Frequent Visitor

Why some custom graph created using R is not displayed in Power BI

Hi, I generated some graphs using local R engine (using plot3d() function - it creates interactive 3D graph), which I'm unable to generate in power BI. Instead of a visual, a small pop containing the generated graph appears and quickly disappears, and in place of the visual, error message appears. Error Message: No image was created. The R code did not result in creation of any visuals. Make sure your R script results in a plot to the R default device. Activity ID e2a34c8e-1564-9b2f-d05a-e4d5e5f17b1b Time Mon Sep 12 2016 15:14:45 GMT+0530 (India Standard Time) Version 2.38.4491.282 (PBIDesktop) Client Error Code ServiceErrorToClientError Error Details No image was created. The R code did not result in creation of any visuals. Make sure your R script results in a plot to the R default device.
9 REPLIES 9
v-haibl-msft
Microsoft Employee
Microsoft Employee

@username

 

RGL is not currently supported in the Power BI Service.

RGL and specifically the plot3D() function do not produce a visual that PBI knows how to render.

Suggest using the plot3D package instead. This one is supported in the desktop and service.

 

Best Regards,

Herbert

Anonymous
Not applicable

Hi,

 

is RGL package aviable to render in PowerBI this 2019?

 

Best regards.

Frank

Does PBI support Highcharter or Plotly? I tried both, they are have the error of no image created. If not, do you know any other R packages suppored by PBI to create interactive plots? thx

Does PBI support Highcharter or Plotly? I tried both, but they all have the same error with plot3D. If not, do you know any R packages that are suppored in PBI to create interactive plots? 

v-haibl-msft
Microsoft Employee
Microsoft Employee

@username

 

Could you please provide the r script code written in PBI to us? So that I can try to repro it locally and see if I can help you.

 

Best Regards,

Herbert

x, y, z are cordinates of 3D. dataset <- data.frame(x,y,z) dataset <- unique(dataset) library(rgl) attach(dataset) plot3d(dataset)

@username

 

Did you install your visualization package in your RGUI which mentioned in this article? (It should be rgl here)

BTW, you can take a look at the configurations in above article to see if there is anything missed.

 

Best Regards,

Herbert

Yes.. I have executed install.packages("rgl")

@username

 

I can repro the same issue here. I’ve reported it internally and will update here once I get any information from PBI team.

 

Best Regards,

Herbert

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.