[R] How to read from a file within a gzipped file

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Mon Oct 11 19:01:55 CEST 2021


On Mon, 11 Oct 2021 16:24:01 +0000
"Conklin, Mike (GfK) via R-help" <r-help using r-project.org> wrote:

> Is there a way to return a connection to a single file within a
> zipped file using gzfile or some other method.

Sure! Use unz() instead of gzfile().

-- 
Best regards,
Ivan



More information about the R-help mailing list