[R] install ggplot2

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Thu Jan 23 05:51:42 CET 2014

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


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
>(as 'lib' is unspecified)
>trying URL
>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.
>Jie DAI
>	[[alternative HTML version deleted]]
>R-help at r-project.org mailing list
>PLEASE do read the posting guide
>and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list