[R] add-on packages

Uwe Ligges ligges at statistik.uni-dortmund.de
Tue Sep 28 12:57:52 CEST 2004


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




More information about the R-help mailing list