Re: [R] zip package

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Fri 14 Oct 2005 - 21:15:12 EST

Uwe Ligges <ligges@statistik.uni-dortmund.de> writes:

> Sara Mouro wrote:
>
> > Dear all
> >
> > I can not understand how to install the package lpsolve_1.1.9.zip
> >
> > I have read the FAQ and the help pages carefully, but it still not
> > clear for me.
> >
> > I have tried the following (and obtained the respective error
> > messages):
> >
> >
> >
> >>install.packages("c:/ProgramFiles/R/rw2011/library/lpSolve_1.1.9",destdir="
> >
> > c:/ProgramFiles/R/rw2011/library/lpSolve")
> > Mensagem de aviso:
> > no package 'c:/Program
> > Files/R/rw2011/library/lpSolve_1.1.9' at the repositories in:
> > download.packages(pkgs, destdir = tmpd, available = available,
> >
> >
> >
> >>install.packages("lpSolve_1.1.9",destdir="c:/ProgramFiles/R/rw2011/library/
> >
> > lpSolve")
> > Erro em download.packages(pkgs, destdir = tmpd, available =
> > available, :
> > 'destdir' is not a directory
> >
> > >install.packages("lpSolve_1.1.9",destdir=NULL)
> > Mensagem de aviso:
> > no package 'lpSolve_1.1.9' at the repositories in:
> > download.packages(pkgs, destdir = tmpd, available = available,
> >
> > Could you please tell me how to do that or when can I find a simple
> > example of that kind of installation?
> >
> > Thank you so much and sorry for such basic question.
> >
> > Sara Mouro
> >
> > [[alternative HTML version deleted]]
>
>
> For example in the help pages, the manuals, the FAQ, and some R News
> article in the R Help Desk.
>
> Anyway, you simply want to say
> install.packages("lpSolve")
> to get a copy installed from CRAN or
> install.packages("C:/Path/to/Zip/File/Package_Version.zip", repos = NULL)
>
> to install a binary package you already got on your harddisk.
>
> Uwe Ligges

Or maybe use the user-friendly menu entry "Install package from local ZIP file" in the Packages menu??

-- 
   O__  ---- Peter Dalgaard             ุster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)                  FAX: (+45) 35327907

______________________________________________
R-help@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
Received on Fri Oct 14 21:39:17 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 18:53:55 EST