I accidentally deleted my old version of ggplot2, so I downloaded the new version, and when I use
library(ggplot2)
I get the following error:
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’
Does anyone know how to fix this? I tried reinstalling the older version of ggplot2 in both R 3.0.2 and R 3.0.1 (where it previously worked!) and it says the package is not available.
If anyone has a solution to how to fix the loading of the new version or how to get the old version work again, I would be indebted - I really need to plot something with ggplot!!
Cheers
Install the missing colorspace package by executing the following line in R:
install.packages("colorspace")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With