Hi everyone,
I'm trying to use ggplot function to draw plots.
I have downloaded ggplot2 by using a command install.packages(''ggplot2''), then
library()
But, it shows the Error:
library(ggplot2)
Error: package or namespace load failed for ‘ggplot2’:
package ‘glue’ was installed by an R version with different internals; it needs to be reinstalled for use with this R version
In addition: Warning message:
package ‘ggplot2’ was built under R version 3.6.3
I don't know how to fix this problem.
Any advice is really appreciated!
Thank you!