Skip to content

install pls.pcr package

3 messages · Dowkiw, Arnaud, Ko-Kang Kevin Wang, Göran Broström

#
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 :
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' 

Thanks a lot,

Arnaud


*************************
Arnaud DOWKIW
Department of Primary Industries
J. Bjelke-Petersen Research Station
KINGAROY, QLD 4610
Australia
T : + 61 7 41 600 700
T : + 61 7 41 600 728 (direct)
F : + 61 7 41 600 760
**************************
 

********************************DISCLAIMER**********************... {{dropped}}
#
I am assuming you are using Windows.  So why did you download the source 
file?  If you are using the Packages -> Install packages from local zip 
files menu, why not just choose Install packages from CRAN, then select 
pls.pcr?  

Alternatively if you want to download the "compiled" package, you should 
do it under http://cran.r-project.org/bin/windows/contrib

Please refer to Section 3.1 of the R for Windows FAQ for details 
(http://cran.r-project.org/bin/windows/rw-FAQ.html)
On Wed, 18 Jun 2003, Dowkiw, Arnaud wrote:

            

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

            
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