[Rd] How to set up an own package repository

Ben Bolker bbolker at gmail.com
Fri Sep 17 16:37:11 CEST 2010


Janko Thyson <janko.thyson <at> ku-eichstaett.de> writes:

> 
> Dear List,
> 
> I'd like to set up a package repository so I can use install.packages() on
> it for home-grown packages. I set up an AMPP infrastructure on a windows box
> already, but I'm pretty lost with respect to what to do next as I didn't do
> any web-programming/admin yet. Could anyone recommend some r-specific
> tutorials or has a couple of suggestions for me? I've had a look at the
> official R manual, but it just describes the required repository structure,
> but not how to implement that. I'd also be willing to dive into SVN and
> alikes if you think that's best practice.

  It's pretty easy.  For example, I have a directory hierarchy

R/bin/{windows,windows64}
R/src/contrib/

  in each bottom-level directory I have the appropriate zipped
binaries or tar.gz sources, along with a PACKAGES file generated
by the write_PACKAGES function in the tools package.
  
  see section 6.6 of the R-admin manual.



More information about the R-devel mailing list