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
shb
Frequent Visitor

R Map in Power BI

Hi,

 

I am trying to create a map using R script visual but getting the following error:

 

No image was created. The R code didn't result in creation of any visuals. Make sure your R script results in a plot to the R default device.

 

I am using the following R code to draw a map using Mapview library:

 

library(mapview)
mapview(breweries91)

 

Could you please advice whether this library is supported in Power BI? Thanks

 

1 ACCEPTED SOLUTION
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @shb,

 

According to the documentation R packages that are supported in Power BI, the mapview package is not supported in Power BI currently. Smiley Happy

 

Regards

View solution in original post

2 REPLIES 2
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @shb,

 

According to the documentation R packages that are supported in Power BI, the mapview package is not supported in Power BI currently. Smiley Happy

 

Regards

Thanks much @v-ljerr-msft

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.