Forum Discussion
R Script Runtime Error
- 6 years ago
I did submit a ticket with Microsoft support and they got back to me more quickly than I had thought - a pleasant surprise! They also admitted:
'The issue was due to a bug from Power BI.
The fix for the bug was deployed yesterday. Hence, you are able to successfully view the visuals today.'That, too, was a pleasant surprise. Kudos to Microsoft support.
I am not using a personal gateway. Nor am I using R as a datasource. I am using the script to provide visualization of an existing dataset.
Hmmm. I was having the same error when I used Python yesterday. But today, I see my visuals. It seems something might have changed on the server side over night.
Apparently, the relevant part of the error message was 'Please try again later'. See how that goes over with the managers who are asking for this report...
- sartoris6 years agoFrequent Visitor
I did submit a ticket with Microsoft support and they got back to me more quickly than I had thought - a pleasant surprise! They also admitted:
'The issue was due to a bug from Power BI.
The fix for the bug was deployed yesterday. Hence, you are able to successfully view the visuals today.'That, too, was a pleasant surprise. Kudos to Microsoft support.
- sartoris6 years agoFrequent Visitor
I created a pbix using the VennDiagram R Visual. I installed MS R Open v3.4.4 locally. I am using the VennDiagram R package v1.6.20. The diagram displays fine on my desktop. I published it to app.powerbi.com and all other visuals display correct but the Venn diagram. The dataset has less than 5000 records. I get this error:
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: 3a68f729-afd8-e73f-f828-127a447a4aad
Correlation ID: 37987b20-4b97-1e92-ff40-dc47809e228f
Time: Wed Jun 10 2020 11:50:38 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/Here is the 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 is me contacting support. If there is a better way to contact support, please let me know.
- v-xuding-msft6 years agoCommunity Support
Hi sartoris ,
I have tested your code. It works fine in my site. Please download my sample to have a try to check if it works in your site as well.
The version of Desktop I used: 2.82.5858.641
The browser I used: MS Edge. (If what you used is not a latest version, please update it. Reference: Supported browsers for Power BI )