Forum Discussion

sartoris's avatar
sartoris
Frequent Visitor
6 years ago
Solved

R Script Runtime Error

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.

  • 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.  

11 Replies