Forum Discussion
[R] Error: package or namespace load failed for 'ggplot2'
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?
1 Reply
- v-cherch-msftMicrosoft Employee
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