Cant install plyr package via command line or manually

when typing

install.packages("ggplot2")

      

i get the following result:

Installing package into ‘/home/suraj/R/x86_64-pc-linux-gnu-library/3.0
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
Warning: dependency ‘plyr’ is not available
also installing the dependencies ‘reshape2’, ‘scales’
ERROR: dependency ‘plyr’ is not available for package ‘reshape2’
* removing ‘/home/suraj/R/x86_64-pc-linux-gnu-library/3.0/reshape2’
ERROR: dependency ‘plyr’ is not available for package ‘scales’
* removing ‘/home/suraj/R/x86_64-pc-linux-gnu-library/3.0/scales’
ERROR: dependencies ‘plyr’, ‘reshape2’, ‘scales’ are not available for    package ‘ggplot2’
* removing ‘/home/suraj/R/x86_64-pc-linux-gnu-library/3.0/ggplot2’

The downloaded source packages are in
    ‘/tmp/RtmpSWlplq/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 ‘scales’ had non-zero exit status
3: In install.packages("ggplot2") :
  installation of package ‘ggplot2’ had non-zero exit status

      

when i tried to install the "plyr" package by first downloading the plyr package and using

install.packages("plyr_1.8.2.tar.gz",repos=NULL,type="source")

      

I receive the following message:

Installing package into ‘/home/suraj/R/x86_64-pc-linux-gnu-library/3.0
(as ‘lib’ is unspecified)
ERROR: this R is version 3.0.2, package 'plyr' requires R >= 3.1.0
Warning message:
In install.packages("plyr_1.8.2.tar.gz", repos = NULL, type = "source") :
 installation of package ‘plyr_1.8.2.tar.gz’ had non-zero exit status

install.packages("plyr_1.8.2.tar.gz",repos=NULL)
 Installing package into ‘/home/suraj/R/x86_64-pc-linux-gnu-library/3.0
 (as ‘lib’ is unspecified)
ERROR: this R is version 3.0.2, package 'plyr' requires R >= 3.1.0
Warning message:
In install.packages("plyr_1.8.2.tar.gz", repos = NULL) :
  installation of package ‘plyr_1.8.2.tar.gz’ had non-zero exit status

      

plase can anyone help me on this issue?

+3


source to share


1 answer


Install plyr version 1.8.1 from http://cran.r-project.org/src/contrib/Archive/plyr and everything works like a charm thanks to @nicola for helping me on this



For Windows, the corresponding version of plyr can be found in the R 3.0 Windows Package Archive .

+7


source







All Articles