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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
DanaZ
Frequent Visitor

R script fail to run on Power BI Service

I am using R visual to test out an R script. The script imports tcltk library and use it to pop up a dialog for user to type in some input. The report worked fine on my local machine, I was able to type in some input and the report ran successfully.

 

However after I publish it, the R script pop up dialog won't show up when running on the service, and the report will time out. 

 

Do I need to do anything special in order for it to run on the service? Thanks.

 

Execution Timeout
The script execution timed out, please try again later
Please try again later or contact support. If you contact support, please provide these details.

Activity ID: a09afe48-4878-19e5-d7f6-e78dae3de6bd
Request ID: 47578f0a-2f8e-dbb5-5577-285ce1cb911e
Correlation ID: e1490d28-df6b-fb79-7e39-00a28a18aec8
Time: Tue Aug 21 2018 11:33:07 GMT-0700 (Pacific Daylight Time)
Version: 13.0.6430.111
Cluster URI: https://df-msit-scus-redirect.analysis.windows.net

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @DanaZ

Please check the following link which told about limitations of R visual:

Creating R visuals in the Power BI service

Known limitations

  • R visuals support is limited to the packages identified on the following page . There currently is no support for custom packages.

     

  • Data size limitations – data used by the R visual for plotting is limited to 150,000 rows. If more than 150,000 rows are selected, only the top 150,000 rows are used and a message is displayed on the image.

  • Calculation time limitation – if an R visual calculation exceeds 60 seconds the script times out, resulting in an error.

  • R visuals are refreshed upon data updates, filtering, and highlighting. However, the image itself is not interactive and does not support tool tips.

  • R visuals respond to highlighting other visuals, but you cannot click on elements in the R visual in order to cross filter other elements.

  • R visuals are currently not supported for the Time data type. Please use Date/Time instead.

  • R Visuals do not display when using Publish to web.

  • R visuals currently do not print with dashboard and reports printing

  • R visuals are currently not supported in the DirectQuery mode of Analysis Services

Best Regards

Maggie

View solution in original post

1 REPLY 1
v-juanli-msft
Community Support
Community Support

Hi @DanaZ

Please check the following link which told about limitations of R visual:

Creating R visuals in the Power BI service

Known limitations

  • R visuals support is limited to the packages identified on the following page . There currently is no support for custom packages.

     

  • Data size limitations – data used by the R visual for plotting is limited to 150,000 rows. If more than 150,000 rows are selected, only the top 150,000 rows are used and a message is displayed on the image.

  • Calculation time limitation – if an R visual calculation exceeds 60 seconds the script times out, resulting in an error.

  • R visuals are refreshed upon data updates, filtering, and highlighting. However, the image itself is not interactive and does not support tool tips.

  • R visuals respond to highlighting other visuals, but you cannot click on elements in the R visual in order to cross filter other elements.

  • R visuals are currently not supported for the Time data type. Please use Date/Time instead.

  • R Visuals do not display when using Publish to web.

  • R visuals currently do not print with dashboard and reports printing

  • R visuals are currently not supported in the DirectQuery mode of Analysis Services

Best Regards

Maggie

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors