[R] install local packages

Uwe Ligges ligges at statistik.uni-dortmund.de
Thu Mar 23 08:25:24 CET 2006

nlei at sfu.ca wrote:

> Hello all,
> I'm trying to install the local package under window system. Two ways I've
> tried:
> 1. using the menu"packages" "install package(s) from local zip files...".	
>    My .zip file is "mclust.zip". But it shows Errors which are:
>    "Error in gzfile(file,"r"): unable to open connection 
>     In addition: Warning messages:
>     1.error -1 in extracting from zip file
>     2.cannot open compressed file 'mclust/DESCRIPTION'

Probably you got the wrong version of mclust. (you have not told version 
of R, version of mclust nor where you got mclust from).

Currently, CRAN has mclust_2.1-11.zip in its binary section for R-2.2.x 
for Windows.
Hence simply type
with a running internet connection or download the recent version from CRAN.

Uwe Ligges

> 2. using function "install.packages".
>    the command I use is 
>    install.packages(mclust.zip,"D:\sfu\BC project\clustering project\stuff	
>    from Jeffrey\flowCytometryClustering",repos=NULL,destdir="C:\Program 
>    Files\R\rw2011\library")
>    But error is "object "mclust.zip" not found".
> Could you please help me how I can install the local packages?
> Thanks a lot!
> ______________________________________________
> 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