Hi Spencer
I just put a new source version (0.9-0) of the Rcompression package
on the www.omegahat.org/R repository and it has a new function zip()
that creates or appends to a zip file, allowing one to provide
alternative names.
I'll add support for writing content from memory (i.e. AsIs
char
Thanks to Dieter Menne and Prof. Ripley for replies.
For certain definitions of "better" (e.g., transportability?), the
Rcompression package might be superior to the system call I mentioned.
I also just found the "tar" function in the "utils" package, which looks
like it might be more
On Tue, 9 Feb 2010, spencerg wrote:
Can one write a zip file from R?
I want to create a file with a name like "dat.zip", being a zip file
containing "dat.csv". I can create "dat.csv", then call "system('zip -r9
dat.zip dat.csv')". Is there a better way?
Not really. One could use
spencerg wrote:
>
> I want to create a file with a name like "dat.zip", being a zip
> file containing "dat.csv". I can create "dat.csv", then call
> "system('zip -r9 dat.zip dat.csv')". Is there a better way?
>
> I can use "gzfile" to write a gz file, but I don't know how to
>
Can one write a zip file from R?
I want to create a file with a name like "dat.zip", being a zip
file containing "dat.csv". I can create "dat.csv", then call
"system('zip -r9 dat.zip dat.csv')". Is there a better way?
I can use "gzfile" to write a gz file, but I don't kno
5 matches
Mail list logo