r - Loading ggplot2 package, missing 'munsell' package -
i trying load ggplot2.  using windows 7.  r tells me ggplot2 has loaded when try use library function says cannot find ggplot2.  here says.
install.packages("ggplot2") installing package ‘c:/users/owner/documents/r/win-library/3.1’ (as ‘lib’ unspecified) trying url 'http://cran.rstudio.com/bin/windows/contrib/3.1/ggplot2_1.0.0.zip' content type 'application/zip' length 2675581 bytes (2.6 mb) opened url downloaded 2.6 mb  package ‘ggplot2’ unpacked , md5 sums checked  downloaded binary packages in     c:\users\owner\appdata\local\temp\rtmpyess1j\downloaded_packages   i tried use library function , got message:
library("ggplot2") error in loadnamespace(i, c(lib.loc, .libpaths()), versioncheck = vi[[i]]) :    there no package called ‘munsell’ error: package or namespace load failed ‘ggplot2’ > head(diamonds) error in head(diamonds) : object 'diamonds' not found   i hope has idea have done wrong.
you should have executed this:
install.packages("ggplot2", dependencies=true)      
Comments
Post a Comment