Skip to content
Prev 39242 / 398500 Next

installing packages not on CRAN

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