Getting below error when i try to activate ggplot2 package
library(ggplot2)
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
there is no package called ‘colorspace’
Error: package or namespace load failed for ‘ggplot2’
Also, unless this works for you in R but not in (see FAQ below for disambiguation), I don't think it's IDE-related. So, I'm going to move this out of the IDE category and into General.
Looks like this is an issue for which the solution was already given.
I had similar issues recently.
The solution that worked for me, was the same as the one that was suggested already: to re-install any "missing" package individually. I had to re-install two "missing" packages one after the other.