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 have added a R Visual in my report. Here is the R Script which provides the visual as a Dataframe
install.packages("gridExtra",repos="http://cran.us.r-project.org") library(gridExtra) with(dataset, { out_matrix <- matrix(0,nrow=nlevels(ANSWER1), ncol=nlevels(ANSWER2), dimnames=list(levels(ANSWER1), levels(ANSWER2))) out_matrix [cbind(ANSWER1,ANSWER2)] <- COUNT #grid.table(out_matrix ) Xsq <- chisq.test(out_matrix ) pvalue <- toString(Xsq$p.value) df <- toString(Xsq$parameter) csq <- toString(Xsq$statistic) x<-data.frame(csq,df,pvalue) names(x)<-c("Chi Square","Degree of Freedom","P Value") mytheme <- gridExtra::ttheme_default( core = list(fg_params=list(hjust=1,x=1,cex = 2.0),bg_params=list(fill="white")), colhead = list(fg_params=list(cex = 1.0),bg_params=list(fill="white")), rowhead = list(fg_params=list(cex = 1.0))) grid.table(x, rows = NULL,theme=mytheme ) })
This works fine in Power BI Desktop but when I publish it and try to open in Power BI Service I only "Script Execution Time Out"
Please help
Solved! Go to Solution.
HI @kpratik,
I'd like to suggest you take a look at following link which told about limitations of r visual:
Creating R visuals in the Power BI service
R visuals in the Power BI service have a few limitations:
Regards,
Xiaoxin Sheng
I got the same issue.
The script execution timed out, please try again later
Please try again later or contact support. If you contact support, please provide these details.
Hide details
Activity ID189db995-aeb6-4715-99a2-a45d628dca41
Request ID82b8b626-d0a7-30d0-f20b-b421bc1f8399
Correlation ID72472f60-4c19-bd91-be5e-70bc60d76016
TimeTue Nov 08 2022 09:28:43 GMT+0100 (Central European Standard Time)
Service version13.0.19403.8
Client version2210.5.10743-train
Cluster URIhttps://wabi-north-europe-q-primary-redirect.analysis.windows.net/
I have checked the R visuals in the Power BI service have a few limitations.
But I still don't know which is exact reason.
Does anyone can help me? Thanks!
HI @kpratik,
I'd like to suggest you take a look at following link which told about limitations of r visual:
Creating R visuals in the Power BI service
R visuals in the Power BI service have a few limitations:
Regards,
Xiaoxin Sheng
Hi ,
I got the same issue as follows:
The script execution timed out, please try again later
I don't know what is the exact reason. Can you help me? Thanks!
And my R script as follows:
@v-shex-msft I am having this same issue. Is there a way to edit the visual or timeout duration so my visual will load?
Thank you.
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.