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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

rgl R output

I'm trying to use R and the package rgl to produce a custum output.

 

MWE

library(rgl)

df <- iris
plot3d(iris[,1:3])

 

This produces an output in Rstudio but not in Power Bi, I think this could be since plot3d's output is not a png. Does anyone know a workaround to this?

 

Thanks.

4 REPLIES 4
V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,

 

R visuals in Power BI Desktop have the following limitations:https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-r-visuals#known-limitations 

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Is it possible to have rgl output to the default R display?

amitchandak
Super User
Super User

@Anonymous , refer is it very similar to you issue ?

https://community.powerbi.com/t5/Desktop/Output-is-different-from-R-script-and-plot-generated-by-Power-BI/m-p/490735

 

 

https://www.red-gate.com/simple-talk/sql/bi/power-bi-introduction-working-with-r-scripts-in-power-bi-desktop-part-3/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

No, that is an issue about the size of the dataset, my issue is the form of visulisations Power Bi will take.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors