[R] installing packages not on CRAN

vtas@uosis.mif.vu.lt vtas at uosis.mif.vu.lt
Fri Oct 24 12:13:21 CEST 2003


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?

Vytautas Maniusis, Vilnius University, lithuania




More information about the R-help mailing list