package ‘ggplot2’ is not available for this version of R

23 Views Asked by At

Can't get the ggplot2.

I can post more data if you let me know what I should run, but here is the error and the version.

> library("ggplot2")
Error: package or namespace load failed for ‘ggplot2’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
 there is no package called ‘rlang’

My R version

>version()
platform       x86_64-w64-mingw32arch           x86_64os             mingw32crt            ucrtsystem         x86_64, mingw32statusmajor          4minor          2.2year           2022month          10day            31svn rev        83211language       Rversion.string R version 4.2.2 (2022-10-31 ucrt)nickname       Innocent and Trusting
0

There are 0 best solutions below