[R] installing packages not on CRAN

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Oct 24 12:42:15 CEST 2003


On Fri, 24 Oct 2003 vtas at uosis.mif.vu.lt wrote:

> Hi,
> 
> how to use install.packages to install SimpleR package of J. Verzani?
> 
> using install.packages with the CRAN packages is simple:
> 
> install.packages("ineq",contriburl="http://cran.at.r-project.org/bin/windows/contrib/1.8",CRAN=NULL)
> 
> same with Simple package fails:
> 
> install.packages("Simple",contriburl="http://www.math.csi.cuny.edu/Statistics/R/simpleR",CRAN=NULL)
> 
> since there is no file named PACKAGES.
> My solution is:
> 
> path<-paste(getwd(),"simple.zip", sep="/")
> download.file("http://www.math.csi.cuny.edu/Statistics/R/simpleR/Simple_0.4.zip",path,mode="wb")
> install.packages(path,CRAN=NULL)
> 
> Is there more elegant way to do this in Windows?

Download the file and use the menu item to install it, if the above is too 
complicated for you.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list