Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is the plyr package for R not available for R version 3.0.2? [duplicate]

Tags:

r

plyr

I tried installing the plyr package and I got the warning message saying it isn't available for R version 3.0.2. Is this true or is no? If not, why would I be getting this message? I tried using two different CRAN mirrors and both gave the same message.

like image 628
eTothEipiPlus1 Avatar asked Dec 27 '13 23:12

eTothEipiPlus1


People also ask

What package is PLYR in R?

Plyr is a R package that makes it easy to split apart, manipulate, and put back together data.

Is PLYR part of Dplyr?

dplyr is the next iteration of plyr , focussing on only data frames. dplyr is faster, has a more consistent API and should be easier to use.


1 Answers

The answer is that the package is available in R (just checked this on my machine).

The particular error message that you are getting is very misleading. It is R's `catch-all' condition for anything that it doesn't understand going wrong during installation. You will get this error if you mis-spelled anything (Plyr instead of plyr) or your network connection is not working, or you are behind a proxy or whatever.

I typically get this problem when I am behind a proxy or I have mis-spelled something. But it can be because of any other number of reasons. I will suggest you make sure you can access the internet from inside R first.

If nothing works, you can always download the package from CRAN using a browser. If you are on Windows, you want the .zip version and if you are on *nix you want the .tar.gz version. (.tgz for Macs?). Then you can install it like so:

setwd("/path/where/I/downloaded/the/compressed/file")
install.packages("plyr", repos=NULL)

See if that works.

like image 200
asb Avatar answered Oct 13 '22 18:10

asb