ggplot2 fails to install on R 3.0.2 -


i unable install ggplot2 in r 3.0.2 on ubuntu.

when run

install.packages('ggplot2',dependencies = true) 

i following error.

 > install.packages('ggplot2',dependencies = true) installing package ‘/home/gowthamn/r/x86_64-pc-linux-gnu-library/3.0’ (as ‘lib’ unspecified) warning in install.packages :   dependencies ‘plyr’, ‘testthat’ not available installing dependencies ‘reshape2’, ‘scales’, ‘hmisc’  trying url 'http://cran.rstudio.com/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.rstudio.com/src/contrib/scales_0.2.4.tar.gz' content type 'application/x-gzip' length 40093 bytes (39 kb) opened url ================================================== downloaded 39 kb  trying url 'http://cran.rstudio.com/src/contrib/hmisc_3.16-0.tar.gz' content type 'application/x-gzip' length 629536 bytes (614 kb) opened url ================================================== downloaded 614 kb  trying url 'http://cran.rstudio.com/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  error: dependency ‘plyr’ not available package ‘reshape2’     * removing ‘/home/gowthamn/r/x86_64-pc-linux-gnu-library/3.0/reshape2’     warning in install.packages :       installation of package ‘reshape2’ had non-zero exit status     error: dependency ‘plyr’ not available package ‘scales’     * removing ‘/home/gowthamn/r/x86_64-pc-linux-gnu-library/3.0/scales’     warning in install.packages :       installation of package ‘scales’ had non-zero exit status     error: dependencies ‘plyr’, ‘reshape2’, ‘scales’ not available package ‘ggplot2’     * removing ‘/home/gowthamn/r/x86_64-pc-linux-gnu-library/3.0/ggplot2’     warning in install.packages :       installation of package ‘ggplot2’ had non-zero exit status     error: dependencies ‘ggplot2’, ‘scales’ not available package ‘hmisc’     * removing ‘/home/gowthamn/r/x86_64-pc-linux-gnu-library/3.0/hmisc’     warning in install.packages :       installation of package ‘hmisc’ had non-zero exit status 

i tried

install.packages(c('reshape2','scales')) 

get error plyr not available.

i upgraded ubuntu , reinstalled latest version of r , updated packages using update.packages(checkbuilt=true). but, nothing worked. can do?

if not need latest version, can install packaged version distributed ubuntu using:

sudo apt-get install r-cran-ggplot2 

Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -