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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
WKN
Helper I
Helper I

Power BI Service R Script Runtime error - Only on some R visuals

Hi, 

I created R visuals that is able to load and running fine in Power BI Desktop. However, when published to Power BI Service, some of the R visuals exhibit "Script Runtime Error". Apprecieate your advice on how to get this issue resolved, thanks. 

 

Here are the details. 

Activity ID: ed3f668a-16db-4fbc-b612-c4a2ba0cef3e
Request ID: 1a22018b-af47-45c7-aa2c-56861f1ce99b
Correlation ID: dfa1359c-9dab-941c-d190-19f12dbb4ae0
Time: Mon Sep 11 2023 11:54:34 GMT+0800 (Singapore Standard Time)
Service version: 13.0.21509.81
Client version: 2309.1.15569-train
Cluster URI: https://wabi-west-us-c-primary-redirect.analysis.windows.net/

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @WKN ,

So far, to my knowledge, this may not be achieveable.

But you could submit idea in this site Home (microsoft.com), if a idea is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @WKN ,

In the service, not all of the R packages are supported. 

The following screenshot shows some of the packages supported by Power BI Services.

vbinbinyumsft_0-1694587508639.png

 

For more details, you can read related document: Learn which R packages are supported - Power BI | Microsoft Learn

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi, 

Thank you for your response. I have visited the link ( Learn which R packages are supported - Power BI | Microsoft Learn). In the R visuals that resulted with "Script runtime error", I was using 3 packages, namely ggplot2, plyr and scales. These were listed as R packages that are supported in Power BI from this link.  

I then realize that the site stated "Current R runtime: Microsoft R 3.4.4", but plyr package is not present in this version? I am using R version 4.0 and hence I suppose the R visuals are showing up on Power BI Desktop but just not in Power BI Service? 

 

Any plans to update R version from 3.4.4? Or why is plyr package not supported when its listed it is supported? Is there a way to get plyr package to Power BI Service?

Anonymous
Not applicable

Hi @WKN ,

So far, to my knowledge, this may not be achieveable.

But you could submit idea in this site Home (microsoft.com), if a idea is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.

Top Kudoed Authors