On Wed, 18 Jun 2003, Dowkiw, Arnaud wrote:

> How do you install a package from CRAN ? I want to install pls.pcr, so I have 
> downloaded pls.pcr_0.1.1.tar.gz  but when I try to install it using the install 
> package(s) from local zip file(s) option it says : 
> 
> > install.packages(choose.files('',filters=Filters[c('zip','All'),]), 
> > .libPaths()[1], CRAN = NULL)
> Error in file(file, "r") : unable to open connection
> In addition: Warning messages: 
> 1: error 1 in extracting from zip file 
> 2: cannot open file `pls.pcr_0.1.1.tar.gz/DESCRIPTION' 

On Windows? As the error message suggest, use the .zip file, not the 
.tar.gz one. You can also install directly from CRAN, without explicit 
download.

Göran

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to