[R] How to open only one file in a .gz file?

Uwe Ligges ligges at statistik.tu-dortmund.de
Sun Sep 27 19:12:44 CEST 2009



Peng Yu wrote:
> Hi,
> 
> Suppose that there are multiple files in a .gz file.

Well, the extension .gz regularly stand for a (single) gzip compressed 
file. Tyoically you will find more tan one file in a tar archive or a 
zip compressed archive. For the latter see ?unz.

Uwe Ligges



> How to open only
> one file in it? I don't find such options in the help.
> 
> Regards,
> Peng
> 
> ______________________________________________
> 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