I am an r newbie and would appreciate some help installing ggplot2. I am using RStudio Version 0.98.1102. Please see error below.
install.packages("ggplot2")
runs fine
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’
install.packages("colorspace")
Installing package into ‘C:/Users/Jessica/Documents/R/win-library/3.1’ (as ‘lib’ is unspecified) There is a binary version available (and will be installed) but the source version is later: binary source colorspace 1.2-4 1.2-5 trying URL '...//cran.rstudio.com/bin/windows/contrib/3.1/colorspace_1.2-4.zip' Warning in install.packages : cannot open: HTTP status was '404 Not Found' Error in download.file(url, destfile, method, mode = "wb", ...) : cannot open URL '...://cran.rstudio.com/bin/windows/contrib/3.1/colorspace_1.2-4.zip' Warning in install.packages : download of package ‘colorspace’ failed
SessionInfo()output to your question. Just installed fine on R version 3.1.2 (2014-10-31) Platform: x86_64-w64-mingw32/x64 (64-bit), RStudio Version 0.99.235 - zx8754