[R] Which version control system to learn for managing Rprojects?

Gabor Grothendieck ggrothendieck at gmail.com
Wed Oct 27 15:23:51 CEST 2010


On Wed, Oct 27, 2010 at 8:49 AM,  <david.jessop at ubs.com> wrote:
> Gabor
>
> As someone trying to the rest of my team using Subversion (which I have used for a while, but more as a backup / record of changes), have you a neat / automated way of building a package from a subversion repository?
>

Normally one keeps a checkout directory and builds the R package from
that. If you are not sure whether or not your checkout directory is up
to date then issue an svn update prior to the build.  If you are
worried about the other direction then normally one would commit by
hand since conflicts need to be manually resolved.

My publicly available Windows scripts are in
http://batchfiles.googlecode.com .  See the PROGRAM LISTS section on
that page for a one line summary of each.  The only one there that
pertains to subversion is show-svn-info.hta which shows some info in a
GUI window about the current directory (and some useful links)
assuming that the current directory is an svn checkout directory.
For building R packages Rcmd.bat can be used as a substitute for
Rcmd.exe .  It automatically locates R via the registry and then runs
it so you don't have to adjust anything each time you upgrade R.

-- 
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com



More information about the R-help mailing list