Quoting Erik Iverson <er...@ccbr.umn.edu>:



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.

I believe Dr. Ripley was suggesting calling zip and unzip utilities
through, say, the ?system function in R, as opposed to relying on R
packages/functions to perform these compression tasks on their own.


I just found out I can use 7-zip in command line form so... indeed using a system() call would be the simplest way.
Example of not seeing the forest for the trees... ah!

thanks!

Jose



--
Dr. Jose I. de las Heras                      Email: j.delashe...@ed.ac.uk
The Wellcome Trust Centre for Cell Biology    Phone: +44 (0)131 6507095
Institute for Cell & Molecular Biology        Fax:   +44 (0)131 6507360
Swann Building, Mayfield Road
University of Edinburgh
Edinburgh EH9 3JR
UK
*********************************************
Alternative email: nach.mcn...@gmail.com
*********************************************

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

______________________________________________
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