[R] read zips

Sven Garbade garbade at psy.uni-muenchen.de
Wed Jan 30 17:57:58 CET 2002


Heberto Ghezzo wrote:
> 
> Hello, I have to read ASCII files with readLine. Some of these files are
> big. I receive these files in zip format, then unzip and read into R to
> process.
> Is it possible to read directly the Zip file? Help is zipped so the
> tools to unzip while reading are there, is it possible to use them from
> my package?
> Thanks

If you can use gzip (under Unix, Windows?, Mac?) you can open the file
with gzfile().

By, Sven
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list