[Rd] Re: [R] case-insensitive ZIP

Peter Dalgaard p.dalgaard at biostat.ku.dk
Tue Nov 2 12:31:04 CET 2004


(Ted Harding) <Ted.Harding at nessie.mcc.ac.uk> writes:

> On 02-Nov-04 Prof Brian Ripley wrote:
> > [...]
> > [Analogously, R CMD INSTALL will not install .tgz files on Unix,
> > even though some people distribute them: they are (equally) not
> > a supported format.]
> 
> Maybe I'm out of date (R 1.8.0) but my Linux /usr/lib/R/bin/INSTALL
> has:

You are, but it still has...
 
>       if test -f "${1}"; then
>         pkgname=`basename "${1}"`
>         ## Also allow for 'package.tgz' ...
>         pkgname=`basename "${pkgname}" .tgz`

I don't think an unversioned .tar.gz file survives that treatment
though. 

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907



More information about the R-devel mailing list