[R] get compressed data via a socket connection

Jeffrey Horner jeff.horner at vanderbilt.edu
Wed Nov 8 20:03:41 CET 2006


Prof Brian Ripley wrote:
> ?gzcon may help, depending exactly what you mean by `zlib-compressed 
> data'. If not, its code will provide you with a prototype to work on. 
> There are also private entry points in connections.c to (de)compress 
> blocks of data to/from a raw vector which again may be a useful statring 
> point for ideas.
> 
> There is no public API to the connections code.

You might want to look at the proposed R Connections API here:

http://wiki.r-project.org/rwiki/doku.php?id=developers:r_connections_api


Cheers,

Jeff
-- 
http://biostat.mc.vanderbilt.edu/JeffreyHorner



More information about the R-help mailing list