[R] Can't install new packages

John Shonder jashonder at yahoo.com
Wed Apr 21 13:42:20 CEST 2004


I am using R 1.7.0 under unix, installed on Mac OS X
via fink. I wanted to install the date package, and
used the following command:

install.packages(date)

It sure looked like it was going to work:

trying URL
`http://cran.r-project.org/src/contrib/PACKAGES'
Content type `text/plain; charset=iso-8859-1' length
180100 bytes
opened URL
.......... .......... .......... .......... ..........
.......... .......... .......... .......... ..........
.......... .......... .......... .......... ..........
.......... .......... .....
downloaded 175Kb

Error in unique.default(pkgs) : unique() applies only
to vectors

What is this "Error in unique.default(pkgs)? By the
way I ran R under the "sudo" command, so things could
certainly be written to other directories if
necessary.

I appreciate any help. Thanks.

John Shonder




More information about the R-help mailing list