[R] installing Packages
Kenya Carpenter
kcarpent at umass.edu
Mon Jan 26 17:51:37 CET 2015
Dear R- Help
When installing ggplot2 it seems to install correctly but then I can't load
it. My R session is copied below. Can you help?
> install.packages("ggplot2")
Installing package into ‘C:/Users/Kenya/Documents/R/win-library/3.1’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
trying URL '
http://lib.stat.cmu.edu/R/CRAN/bin/windows/contrib/3.1/ggplot2_1.0.0.zip'
Content type 'application/zip' length 2675989 bytes (2.6 Mb)
opened URL
downloaded 2.6 Mb
package ‘ggplot2’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\Kenya\AppData\Local\Temp\RtmpCAsnP1\downloaded_packages
> library(ggplot2)
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck
= vI[[j]]) :
there is no package called ‘Rcpp’
Error: package or namespace load failed for ‘ggplot2’
> library("ggplot2")
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck
= vI[[j]]) :
there is no package called ‘Rcpp’
Error: package or namespace load failed for ‘ggplot2’
Thanks in advance,
Kenya Carpenter
[[alternative HTML version deleted]]
More information about the R-help
mailing list