[R] Create a "local" repository

Scott Hyde hydes at byuh.edu
Wed Sep 12 06:06:58 CEST 2007


I'd like to create a small "local" repository that would be used to
install a package for a class of students at their home.  I don't want
to upload it to CRAN, as I don't think it should be disseminated at
that level.

What I'd like to do is:

> where="http://mysite.com/"
> install.packages("mypackage",contriburl=where)

When I try this, (after placing my mypackage_1.0.tar.gz file in the
main directory of http://mysite.com/, it responds, in R, when I want
to install the package:

Warning: unable to access index for repository http://mysite.com/

What do I need to do?

-Scott

-- 
*****************************************************************
Scott K. Hyde
Assistant Professor of Statistics and Mathematics
School of Computing
Brigham Young University -- Hawaii



More information about the R-help mailing list