Forum Discussion
Error: package or namespace load failed for 'ggplot2':package 'ggplot2' was installed before R 4.0.0
I tried all after updating R to 4.0.0
R visuals don't work
I checked libpaths and in rstudio works, Even I uninstalled all R versions and installed R 4 from scratch.
Stack Trace:
Microsoft.PowerBI.ExploreServiceCommon.ScriptHandlerException: Error del script R.
Error: package or namespace load failed for 'ggplot2':
package 'ggplot2' was installed before R 4.0.0: please re-install it
Ejecución interrumpida
---> Microsoft.PowerBI.Scripting.R.Exceptions.RScriptRuntimeException: Error del script R.
Error: package or namespace load failed for 'ggplot2':
package 'ggplot2' was installed before R 4.0.0: please re-install it
Ejecución interrumpida
Hello @dpombal ,
Please refer to the link.
Error: Package or namespace load failed for ggplot2 and data.table
Best regards
Lionel ChenIf this post helps,then consider Accepting it as the solution to help other members find it faster.
1 Reply
- v-lionel-msftCommunity Support
Hello @dpombal ,
Please refer to the link.
Error: Package or namespace load failed for ggplot2 and data.table
Best regards
Lionel ChenIf this post helps,then consider Accepting it as the solution to help other members find it faster.