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.
I made a new figure in my report using R's ggplot2 and it looks great in desktop, but I see a "Script Runtime Error" in its window when I publish to web and look at it in my app on the service.
After googling around, I saw some really contradictory information. One page said no R scripts work if you "publish to web", while many others said only certain R scripts work (and ggplot2 is one of the okay ones).
The error message provides nothing helpful to me:
An error occurred while running the script
Please try again later or contact support. If you contact support, please provide these details.
And below is my R code for my ggplot2, which is a simple scatterplot and a spline:
I have same error for all my R visuals, even the ones that were working in the Service as of last week are now showing Script Error.
I got a similar error today:
Script Runtime Error
An error occurred while running the script
Please try again later or contact support. If you contact support, please provide these details.
Activity ID: 155f5684-ceb5-4a62-9644-1094a60367d2
Request ID: d44fae9d-6edc-7891-869b-e90a5e5fe3c6
Correlation ID: e2066f6c-7d9a-c96b-a970-a91b84bdbbab
Time: Wed Jun 10 2020 10:23:09 GMT-0700 (Mountain Standard Time)
Service version: 13.0.13524.230
Client version: 2006.1.01422-train
Cluster URI: https://wabi-west-us-redirect.analysis.windows.net/
R Script:
library(VennDiagram)
listdataset <- lapply(dataset, function(x) { x } )
listcolor <- c("red", "yellow", "green", "blue", "gray")
listcolor <- head(listcolor, ncol(dataset))
venndiagram <- venn.diagram(listdataset, filename=NULL, na="remove", fill = listcolor, margin=0.1)
grid.draw(venndiagram)
This may be related?
https://powerbi.microsoft.com/en-us/support/
Power BI customers using Python or R visuals together with May release of the Power BI Personal Gateway may see the following error message when trying to refresh: “ADO.NET: Failed to find or load the registered .Net Framework Data Provider”. As a workaround users may revert to the April release of the Power BI Personal Gateway. Engineers are working on a fix and expect it to be deployed by end-of-day 06/09/2020.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.