March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello everyone,
I’m facing a frustrating issue related to using R 3.4.4 on Microsoft Power BI Service. As you may know, Power BI enforces this specific version of R, which severely limits compatibility with more recent R packages.
Current Situation:
R Version: 3.4.4 Environment: Power BI Services Problem: Cannot install ggplot2 and its dependencies
Key Challenges:
Manual installation attempts fail Dependency packages are not compatible Version constraints prevent package updates
Specific Questions:
Has anyone successfully installed ggplot2 on R 3.4.4 recently? Are there workarounds for package installations in this environment?
Any insights or solutions would be greatly appreciated. Cheers!
Solved! Go to Solution.
Hi @lnisc
Install an Older Version of ggplot2:
install.packages("https://cran.r-project.org/src/contrib/Archive/ggplot2/ggplot2_2.2.1.tar.gz", repos = NULL, type = "source")
Manually install compatible versions of dependencies (scales, plyr, etc.).
Pre-Install on Local R 3.4.4:
Use MRAN Snapshot:
install.packages("ggplot2", repos = "https://mran.microsoft.com/snapshot/2018-04-01")
By following these steps, you can work around Power BI's R version limitations effectively.
Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a "Kudos" 🙂
Kind Regards,
Poojara
Data Analyst | MSBI Developer | Power BI Consultant
Please Subscribe my YouTube for Beginners/Advance Concepts: https://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS
Hi @lnisc
Thanks for the reply from Poojara_D12 .
Are you using R script visual and then publishing the report to Power BI Service? If I understand correctly, from my testing, it works with R 4.4.1.
Output in Power BI Service:
Best Regards,
Yulia Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @lnisc
Thanks for the reply from Poojara_D12 .
Are you using R script visual and then publishing the report to Power BI Service? If I understand correctly, from my testing, it works with R 4.4.1.
Output in Power BI Service:
Best Regards,
Yulia Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @lnisc
Install an Older Version of ggplot2:
install.packages("https://cran.r-project.org/src/contrib/Archive/ggplot2/ggplot2_2.2.1.tar.gz", repos = NULL, type = "source")
Manually install compatible versions of dependencies (scales, plyr, etc.).
Pre-Install on Local R 3.4.4:
Use MRAN Snapshot:
install.packages("ggplot2", repos = "https://mran.microsoft.com/snapshot/2018-04-01")
By following these steps, you can work around Power BI's R version limitations effectively.
Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a "Kudos" 🙂
Kind Regards,
Poojara
Data Analyst | MSBI Developer | Power BI Consultant
Please Subscribe my YouTube for Beginners/Advance Concepts: https://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
25 | |
21 | |
11 | |
10 | |
9 |
User | Count |
---|---|
47 | |
31 | |
18 | |
17 | |
16 |