Hi Dear helper,


I installed Rx643.0.2 on my windows 7 Enterprise computer, and I installed all the packages as well. However, when I tried to use ggplot2 package with the commend library("ggplot2", lib.loc="C:/Users/JXD043/Documents/R/win-library/3.0"), I got the following error message:" Error in library("ggplot2", lib.loc = "C:/Users/JXD043/Documents/R/win-library/3.0") :
  there is no package called 'ggplot2'

Then I tried to reinstall the package with install.packages("ggplot2")

The message I got is : Installing package into 'C:/Users/JXD043/Documents/R/win-library/3.0'
(as 'lib' is unspecified)
trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.0/ggplot2_0.9.3.1.zip'
Content type 'application/zip' length 2657708 bytes (2.5 Mb)
opened URL
downloaded 2.5 Mb

package 'ggplot2' successfully unpacked and MD5 sums checked
Warning in install.packages :
  cannot remove prior installation of package 'ggplot2'

The downloaded binary packages are in
        C:\Users\JXD043\AppData\Local\Temp\RtmpuIVA2s\downloaded_packages
So I extracted the files into the folder, however, I still can't get the library work.

Please help me and let me know what can I do to fix it.

Thanks!

Jie DAI




	[[alternative HTML version deleted]]

