[R] [R-pkgs] batchfiles for Windows

Gabor Grothendieck ggrothendieck at gmail.com
Tue Jul 5 14:57:26 CEST 2005

batchfiles, available on CRAN at


consists of a set of Windows XP batch files (they may run on 
NT/2000 too but that has not been tested) which facilitate:

1. starting R, automatically locating it in the registry
   each time they are run, so that when a new version of 
   R is installed its not necessary to update them all 
   - Rcmd.bat, Rgui.bat, R.bat

2. copying configuration files to new versions of R when R
   is updated and optionally updating MiKTeX to be consistent 
   with a new R version.  After a one-time configuration just 
   run the batch file after each new download and install of R 
   - Rrefresh.bat

3. use of .Rbuildignore when checking and installing 
   R packages automatically running a build first and then 
   'Rcmd CHECK' or 'Rcmd INSTALL' in one step.  Also sets R_LIBS
   to .../R/library if R_LIBS has not already been set.
   - makepkgs.bat

4. locating various R tools that are used in building R packages
   on your system by querying the registry.
   - Rfind.bat

Comments welcome.

Gabor Grothendieck

R-packages mailing list
R-packages at stat.math.ethz.ch

More information about the R-help mailing list