Forum Discussion
Can I update R libraries in Power BI services?
I got an error while using PowerBI Service using R Script with ggplot2 and plotly library." Please upgrade the 'shiny' package to (at least) version 1.1. Error: Trace type must be one of the following:".
The R Script run successfully locally on PowerBI Desktop but when I publish the report on PowerBI Service, it doesn't run. Is there anyway I can bypass this?
Thank you.
@R
3 Replies
- v-deddai1-msftCommunity Support
Hi ,
Please check requirements and limitations of R packages for power bi service in https://docs.microsoft.com/en-us/power-bi/connect-data/service-r-packages-support and https://docs.microsoft.com/en-us/power-bi/visuals/service-r-visuals#known-limitations
Would you please also try to update your 'shiny' package ? Run sudo R and then install.packages("shiny").
If this post help, please consider accept it as the solution to help other member find it more quickly.
Best Regards,
Dedmon Dai
Anonymous
- AnonymousNot applicable
Hi v-deddai1-msft , I have updated the package in my local computer and it ran fine in PowerBI Desktop. However, it seems like i can't update it in PowerBI Service after putting " install.packages("shiny")" in the code before publishing it to PowerBI Service. Is the shiny library restricted to version 1.0.5 as mentioned in here? https://docs.microsoft.com/en-us/power-bi/connect-data/service-r-packages-support
Thank you,
- v-deddai1-msftCommunity Support
Hi Anonymous ,
Yes, the versions in the official documents are the ones that have been tested without issues.
If this post help, please consider accept it as the solution to help other member find it more quickly.
Best Regards,
Dedmon Dai