On Mon, 6 Mar 2006, Michael Hoehle wrote: > To R-devel, > > I am currently writing a package with R 2.2.1 under Windows using > cygwin and the recommended Rtools. Physically my package ist hosted on > the Drive z: . > > When I call Rcmd.exe build ?-binary for my package I have a problem > with the "build" script in $R_HOME/bin/. Starting on line 226 the code > is as follows: > > if($WINDOWS) { > ## workaround for paths in Cygwin tar > $filepath =~ s+^([A-Za-x]):+/cygdrive/\1+; > } > > Is there a particular reason that only lower case letter from a-x are > handled? As my drive is z: I would like the workaround to work for > lower case letters a-z.
So edit the file and it should work. (Something is a little strange, as Windows has drive letters in upper case.) You may need to edit check as well as build. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595 ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel