r - install.packages("ggplot2") not working -


i'm using r version 3.0.2 (2013-09-25) -- "frisbee sailing"

while trying install ggplot2 on r, i'm getting following errors:

install.packages("ggplot2") installing package ‘/home/alex/r/x86_64-pc-linux-gnu-library/3.0’ (as ‘lib’ unspecified) warning: dependencies ‘mass’, ‘plyr’ not available installing dependency ‘reshape2’  trying url 'http://cran.sciserv.eu/src/contrib/reshape2_1.4.1.tar.gz' content type 'application/x-gzip' length 34693 bytes (33 kb) opened url ================================================== downloaded 33 kb  trying url 'http://cran.sciserv.eu/src/contrib/ggplot2_1.0.1.tar.gz' content type 'application/x-gzip' length 2351203 bytes (2.2 mb) opened url ================================================== downloaded 2.2 mb  * installing *source* package ‘reshape2’ ... ** package ‘reshape2’ unpacked , md5 sums checked ** libs g++ -i/usr/share/r/include -dndebug   -i"/home/alex/r/x86_64-pc-linux-gnu-library/3.0/rcpp/include"   -fpic  -o3 -pipe  -g  -c rcppexports.cpp -o rcppexports.o g++ -i/usr/share/r/include -dndebug   -i"/home/alex/r/x86_64-pc-linux-gnu-library/3.0/rcpp/include"   -fpic  -o3 -pipe  -g  -c melt.cpp -o melt.o g++ -shared -o reshape2.so rcppexports.o melt.o -l/usr/lib/r/lib -lr installing /home/alex/r/x86_64-pc-linux-gnu-library/3.0/reshape2/libs ** r ** data *** moving datasets lazyload db ** inst ** preparing package lazy loading error in loadnamespace(i, c(lib.loc, .libpaths()), versioncheck = vi[[i]]) :    namespace ‘plyr’ 1.8 being loaded, >= 1.8.1 required error: lazy loading failed package ‘reshape2’ * removing ‘/home/alex/r/x86_64-pc-linux-gnu-library/3.0/reshape2’ error: dependencies ‘reshape2’, ‘mass’ not available package ‘ggplot2’ * removing ‘/home/alex/r/x86_64-pc-linux-gnu-library/3.0/ggplot2’  downloaded source packages in     ‘/tmp/rtmpieshfe/downloaded_packages’ warning messages: 1: in install.packages("ggplot2") :   installation of package ‘reshape2’ had non-zero exit status 2: in install.packages("ggplot2") :   installation of package ‘ggplot2’ had non-zero exit status >  

can please in resolving these errors? googled , tried installed dependencies already, nothing seems work. in advance.

i've got exact same setup and:

install.packages("plyr", repos="http://cran.rstudio.com/") install.packages("ggplot2", repos="http://cran.rstudio.com/") 

worked alright me. give shot, , if still doesn't work, try mirror:

install.packages("plyr", repos="http://cran.cnr.berkeley.edu/") install.packages("ggplot2", repos="http://cran.cnr.berkeley.edu/") 

Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -