[R] how to read/save .zip compressed files from R?

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Aug 4 08:07:39 CEST 2010


On Tue, 3 Aug 2010, J.delasHeras at ed.ac.uk wrote:

> Quoting Prof Brian Ripley <ripley at stats.ox.ac.uk>:
>
>> See also Omegahat package Rcompression (a copy of which for Windows is
>> on CRANextras).
>
>
> Thank you, I will look into that.
>
>
>> But I would do this via unzip, modify, zip
>
>
> once or even 10 times, yes. After that it gets boring :)
> I'd like to use it to batch-correct a series of .zip files that all contain 
> one single wrong file inside.

You can script the operation, including using R as the scripting 
operation.  You cannot 'correct' a zip member: you can replace a 
member which deletes an existing member ands add a new one of the same 
name.

>
> Jose
>
> -- 
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
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



More information about the R-help mailing list