Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Problem loading the plyr package

Tags:

r

plyr

I use R 2.13.1 and have unsuccessfully tried to load the package "plyr 1.6" in R. I have manually installed it into a directory "~/R/library". My code is:

.libPaths("~/R/library")
 library(plyr)

I get the message:

Error in library(plyr) : 'plyr' is not a valid installed package

It works fine with other packages ("chron", "zoo", "ismev", "Lmoments"), but not for the "plyr" package, and I have no idea what is goin on. I have tried installing and loading earlier versions of "plyr", but with the same result.

I appreciate any help a lot since I am stuck! Regards Sisse

like image 807
Sisse Camilla Lundholm Avatar asked Aug 31 '11 14:08

Sisse Camilla Lundholm


1 Answers

Might want to have a look at ?install.packages. It makes it very straightforward to install packages from CRAN. As simple as install.packages(pkgs="plyr").

like image 133
Nick Sabbe Avatar answered Oct 23 '22 03:10

Nick Sabbe