Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hey guys, I'm really stuck and need some help.
After installing R 3.5.1, I'm getting this error message on R visualizations which were previously working
"Error: package or namespace load failed for 'ggplot2': package 'scales' was installed by an R version with different internals; it needs to be reinstalled for use with this R version."
I already tried to:
- reinstall R 3.5.1
- reinstall RStudio
- reinstall ggplot2 and scales package
- reinstall all packages
- reinstall Power BI Desktop
Still it does not work.
Considerations:
- My visualizations were working well before I installed R 3.5.1
- My visualizations are working well on other PCs
Any thoughts?
Hi @brucruz
Below is the similar post for you to check if it could help you.
https://community.powerbi.com/t5/Desktop/R-Visual-Rcpp-package-error/td-p/471272
Regards,
Cherie
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 57 | |
| 43 | |
| 41 | |
| 21 | |
| 17 |
| User | Count |
|---|---|
| 183 | |
| 114 | |
| 93 | |
| 62 | |
| 45 |