[R] create zip archive in R
Duncan Temple Lang
duncan at wald.ucdavis.edu
Thu Feb 4 17:14:16 CET 2010
Uwe Ligges wrote:
>
>
> On 04.02.2010 03:31, mkna005 mkna005 wrote:
>> Hello all!
>> I was wondering if it is possible to create a zip archive within R and
>> add files to it?
>
> No.
Well, the Rcompression package on the Omegahat package does have some facilities for it.
It doesn't do it in memory, but does handle issues of moving disparate files to
a common temporary directory and getting things in order generally to create the zip
file. But it currently uses the external zip executable to create the archive.
I probably will get around to implementing a version in memory as it has been
an issue that has nagged me for a while. And we have the code for it.
>
>
>> I know it is possible to unzip files but is it
>> possible the other way round?
>
> No.
>
>
> For (compressed) archives see ?tar
> For other compression formats of single files see ?file
>
> Uwe Ligges
>
>
>>
>> Thanks in advance
>>
>> Christoph
>>
>> ______________________________________________
>> R-help at 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.
>
> ______________________________________________
> R-help at 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.
More information about the R-help
mailing list