Forum Discussion

brucruz's avatar
brucruz
Frequent Visitor
7 years ago

[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?