On Tue, 3 Aug 2010, j.delashe...@ed.ac.uk wrote:

Quoting Prof Brian Ripley <rip...@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,                  rip...@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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to