[R] Uncompressing data from read.socket
Matt Shotwell
shotwelm at musc.edu
Wed Sep 8 12:43:52 CEST 2010
Have a look at gzcon, for decompressing data as they arrive. From the
help file:
‘gzcon’ provides a modified connection that wraps an existing
connection, and decompresses reads or compresses writes through
that connection. Standard ‘gzip’ headers are assumed.
There is no indication in the gzcon help file that explicitly prohibits
socketConnections. Also, see memDecompress for in-memory decompression
of the entire object.
-Matt
On Wed, 2010-09-08 at 00:50 -0400, rajeshj at cse.iitm.ac.in wrote:
> Hi,
>
> Is it possible to uncompress gzipped data coming over a socket?
> [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.
--
Matthew S. Shotwell
Graduate Student
Division of Biostatistics and Epidemiology
Medical University of South Carolina
More information about the R-help
mailing list