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
plyrdepends on itself, are installed... - Nick Sabbe.libPaths()return? How aboutinstalled.packages()["plyr",]? - Brian Diggsinstall.packages("plyr")indicates that you have the mirror site wrong. It should bemirrors.dotsrc.org/cran, notmirrors/dotsrc.org/cran. Easiest way to set the mirror is withchooseCRANmirror(). And you are right,plyrhas not been installed yet, as the results ofinstalled.packages()["plyr",]shows (you did include the comma inside the brackets, yes?) - Brian Diggs