[R] write.zip?

Dieter Menne dieter.menne at menne-biomed.de
Wed Feb 10 09:10:14 CET 2010



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 
> give that a structure that would support unzipping to a *.csv file. 
> 
> 

Would a function in package RCompression do this?

Dieter


-- 
View this message in context: http://n4.nabble.com/write-zip-tp1475348p1475482.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list