I am trying to install packages, WHat i did is: options(CRAN= "http://cran.us.r-project.org/") install.packages("pakgs") However I got error message like: trying URL `http://cran.us.r-project.org//bin/windows/contrib/PACKAGES' Error in download.file(url = paste(contriburl, "PACKAGES", sep = "/"), : cannot open: HTTP status was `404' In addition: Warning message: argument `lib' is missing: using C:/PROGRA~1/R/rw1051/library in: install.packages("modreg") Can you tell me why? --------------------------------- [[alternative HTML version deleted]]
> I am trying to install packages, WHat i did is: > > options(CRAN= "http://cran.us.r-project.org/") > install.packages("pakgs")Is that really the package name? I can't find it on CRAN.> However I got error message like:...> argument `lib' is missing: using C:/PROGRA~1/R/rw1051/library in:^^^^^^ You need to upgrade R. The latest version is 1.9.0. Version 1.5.1 (yours) is about two years out of date. Download and install the latest one from your nearest friendly CRAN mirror. Cheers Jason
Linda portman wrote:> I am trying to install packages, WHat i did is: > > options(CRAN= "http://cran.us.r-project.org/") > install.packages("pakgs") > > However I got error message like: > trying URL `http://cran.us.r-project.org//bin/windows/contrib/PACKAGES' > Error in download.file(url = paste(contriburl, "PACKAGES", sep = "/"), : > cannot open: HTTP status was `404' > In addition: Warning message: > argument `lib' is missing: using C:/PROGRA~1/R/rw1051/library in: install.packages("modreg")^^^^^^ Time to upgrade.> Can you tell me why? > >For 1.9.0, modreg was merged with stats, so is thus a defunct package. --sundar