cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Why isn't my R visual working?

I created an R visual on Power BI desktop and I want to publish it now. I clicked 'Publish to Power BI' (I have a Pro license within our organisation) but  now I cannot see my visualisations. I am getting a ' Script Runtime Error' on app.powerbi.com. Worst of all, it seems that in this mode I can build/publish Python visuals but not R visuals. Any way forward?powerbi_error_reporting.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Why isn't my R visual working?

Hi @Vyk ,

In fact, when you design on desktop side, power bi not has any limitation on packages and functions that you used in r visual.  
After you publish to power bi service side, there are a few limitations for r scripts(e.g. execute time out, operations invoke external resources, access or edit operations to specify path...), you can take a look at below link about r script limitations and security:

Creating R visuals in the Power BI service#r-scripts-security 
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Responsive Resident
Responsive Resident

Re: Why isn't my R visual working?

You (or someone who has Power BI admin rights in your tenant) needs to check that R Visuals are enabled:

https://docs.microsoft.com/en-us/power-bi/service-admin-portal#r-visuals-settings

 

If they are, and if your R visual works in Power BI Desktop, check that you're only using R packages that are supported in the service:

https://docs.microsoft.com/en-us/power-bi/service-r-packages-support#r-packages-that-are-supported-i...

Highlighted
Community Support
Community Support

Re: Why isn't my R visual working?

Hi @Vyk ,

In fact, when you design on desktop side, power bi not has any limitation on packages and functions that you used in r visual.  
After you publish to power bi service side, there are a few limitations for r scripts(e.g. execute time out, operations invoke external resources, access or edit operations to specify path...), you can take a look at below link about r script limitations and security:

Creating R visuals in the Power BI service#r-scripts-security 
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

July 2020 Community Highlights

July 2020 Community Highlights

Learn about the exciting things that happened in July.

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

We are thrilled to announce we will begin running a monthly webinar series named Power BI Dev Camp.

Power BI Desktop August 2020 Update

Power BI Desktop August 2020 Update

We have great updates this month! Click the link for the video with more info.

Top Solution Authors
Top Kudoed Authors