Hard to say. Read the Posting Guide for useful suggestions on getting help,
including providing the output of sessionInfo() and avoiding HTML formatted
emails because what you see is not what we see.
I suggest you delete the ggplot2 subdirectory in your win-library directory and
try the
install.packages("ggplot2")
command again. If you have installed packages while running R "As
Administrator" then you may have permissions problems on your win-library
directory and need to delete it ("As Administrator") and reinstall R.
---------------------------------------------------------------------------
Jeff Newmiller The ..... ..... Go Live...
DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live
Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software/Embedded Controllers) .OO#. .OO#. rocks...1k
---------------------------------------------------------------------------
Sent from my phone. Please excuse my brevity.
"Dai, Jie" <JDAI at amfam.com> wrote:>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]]
>
>______________________________________________
>R-help at r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.