Hello, I recently re-installed R and RStudio on my PC and I'm having trouble to install package ggplot2. Here is the error message I get:
Error: package or namespace load failed for ‘ggplot2’ in get(method, envir = home):
lazy-load database '\icnas3.cc.ic.ac.uk/ebakhsol/R/win-library/3.5/ggplot2/R/ggplot2.rdb' is corrupt
In addition: Warning messages:
1: In .registerS3method(fin[i, 1], fin[i, 2], fin[i, 3], fin[i, 4], :
restarting interrupted promise evaluation
2: In get(method, envir = home) :
restarting interrupted promise evaluation
3: In get(method, envir = home) : internal error -3 in R_decompress1
I tried install.packages("ggplot2", dependencies = TRUE) and also ggplot2::ggplot(mtcars, ggplot2::aes(wt, mpg)) + ggplot2::geom_point()
but didn't help.