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
John Shonder wrote:> 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)install.packages("date") (note the quotes!) Uwe Ligges> 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 > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html