Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
brucruz
Frequent Visitor

[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 1
v-cherch-msft
Employee
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

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.