[R] Problem updating mgcv package

Liaw, Andy andy_liaw at merck.com
Mon Mar 14 12:35:44 CET 2005


> From: Arin Basu
> 
> Hi All:
> 
> I tried to update the package mgcv from my current version 
> 1.1-8 to mgcv version 1.2. Using the command 
> update.packages("mgcv") to update mgcv failed in my computer 
> and the returning message was:
> 
> "Error in old.packages(lib.loc=lib.loc, 
> contriburl=contriburl, method=method, :no installed.packages 
> for (?invalid) lib.loc=mgcv"
> 
> When I typed installed.packages(), I got the following information
> 
> libpath = "/usr/local/lib/R/site-library" for the installed 
> package "mgcv".
> 
> My next error was when I typed 
> update.packages("mgcv",lib.loc="/usr/local/lib/R/site-library").
> It returned the error message, 
> 
> "error in download.file(url = paste(contriburl, "PACKAGES", 
> sep="/"), :unsupported URL scheme"
> 
> What should I do to correctly update this package?


Reading the help file for update.packages() before posting to the list
certainly would help.  You don't specify the name of the package to update.

Andy
 
> I use Debian Linux (MepisLinux), R version 2.0.1
> 
> Would greatly appreciate your advice.
> 
> TIA,
> Arin Basu
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> 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