Forum Discussion
R Visual issue- Visual Can not be rendered
- 1 year ago
Hi VanillaNitroPep,
Thank you for reaching out to the Microsoft fabric community forum. Additionally, thank you to Deku, for his input regarding this issue. I have identified several alternative workarounds that may assist in resolving the thread.Based on the error message and the information you've provided, it appears you are encountering a known limitation with R visuals in Power BI Service, particularly when using DoD or US Government cloud tenants (as indicated by your .mil cluster URI). Please consider the following key points.
Potential Cause: The Power BI Service, particularly in GCC High or DoD environments, frequently does not support R visuals due to security restrictions. Even in supported environments, only a limited number of R packages are available. Furthermore, R scripts in the Power BI Service are subject to a 20-second execution timeout.
Please confirm with your Power BI administrator if R visuals are permitted in your tenant. If they are: Use only supported R packages (such as ggplot2, dplyr, scales) and simplify your R script to execute within 20 seconds.If R visuals are not supported: As an alternative, export your R visual as a static image (PNG) using a tool like RStudio and embed it in Power BI using the Image visual.
Kinly refers to the below following documentation links for better understanding:
Create advanced analytics and visualizations using R scripts - Power BI | Microsoft Learn
Learn which R packages are supported - Power BI | Microsoft Learn
Also please refer to the below solved thread which is useful:
Solved: Re: r visual not displaying in Power BI service - Microsoft Fabric Community
If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.Thank you for using the Microsoft Community Forum.
These are the packeges I am using