I want to add RMySQL and RODBC packages to my R installation on redhat linux box. The command install.packages gives following output. What could be wrong? ******************** install.packages(RMySQL) trying URL `http://cran.r-project.org/src/contrib/PACKAGES' Content type `text/plain; charset=iso-8859-1' length 202145 bytes opened URL .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... .......... ....... downloaded 197Kb Error in unique(pkgs) : Object "RMySQL" not found ********************** Vikas
Hi! install.packages("RMySQL") ^ ^ note the parenthesis /E Vikas Rawal wrote:> I want to add RMySQL and RODBC packages to my R installation on redhat > linux box. The command install.packages gives following output. What > could be wrong? > > > ******************** > > trying URL `http://cran.r-project.org/src/contrib/PACKAGES' > Content type `text/plain; charset=iso-8859-1' length 202145 bytes > opened URL > .......... .......... .......... .......... .......... > .......... .......... .......... .......... .......... > .......... .......... .......... .......... .......... > .......... .......... .......... .......... ....... > downloaded 197Kb > > Error in unique(pkgs) : Object "RMySQL" not found > ********************** > > Vikas > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html >-- Dipl. bio-chem. Witold Eryk Wolski MPI-Moleculare Genetic Ihnestrasse 63-73 14195 Berlin _ tel: 0049-30-83875219 'v' http://www.molgen.mpg.de/~wolski / \ mail: witek96 at users.sourceforge.net ---W-W---- wolski at molgen.mpg.de
I believe you need quotes around RMySQL. Try: install.packages("RMySQL") On Sep 28, 2004, at 6:34 AM, Vikas Rawal wrote:> I want to add RMySQL and RODBC packages to my R installation on redhat > linux box. The command install.packages gives following output. What > could be wrong? > > > ******************** > install.packages(RMySQL) > trying URL `http://cran.r-project.org/src/contrib/PACKAGES' > Content type `text/plain; charset=iso-8859-1' length 202145 bytes > opened URL > .......... .......... .......... .......... .......... > .......... .......... .......... .......... .......... > .......... .......... .......... .......... .......... > .......... .......... .......... .......... ....... > downloaded 197Kb > > Error in unique(pkgs) : Object "RMySQL" not found > ********************** > > Vikas > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html
Vikas Rawal wrote:> I want to add RMySQL and RODBC packages to my R installation on redhat > linux box. The command install.packages gives following output. What > could be wrong? > > > ******************** > install.packages(RMySQL) > trying URL `http://cran.r-project.org/src/contrib/PACKAGES' > Content type `text/plain; charset=iso-8859-1' length 202145 bytes > opened URL > .......... .......... .......... .......... .......... > .......... .......... .......... .......... .......... > .......... .......... .......... .......... .......... > .......... .......... .......... .......... ....... > downloaded 197Kb > > Error in unique(pkgs) : Object "RMySQL" not found > **********************There is no *object* RMySQL in your workspace. Quite probably you mean the package RMySQL. You have to quote the name: install.packages("RMySQL") Uwe Ligges> Vikas > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html