From edd at debian.org  Thu Nov 28 02:57:00 2013
From: edd at debian.org (Dirk Eddelbuettel)
Date: Wed, 27 Nov 2013 19:57:00 -0600
Subject: [Rd] inflate zlib compressed data using base R or CRAN package?
In-Reply-To: <CAECWziJfZJUu1BWq9w5e1UghjmiCO90q7PKNor-U-1dLM0P5HQ@mail.gmail.com>
References: <D6454779-E162-4A11-B4B2-F26CE35CE5C2@mrc-lmb.cam.ac.uk>
	<21142.37024.430585.526787@max.nulle.part>
	<21142.39619.914919.157672@max.nulle.part>
	<CAECWziJfZJUu1BWq9w5e1UghjmiCO90q7PKNor-U-1dLM0P5HQ@mail.gmail.com>
Message-ID: <21142.41708.828123.572320@max.nulle.part>


On 27 November 2013 at 17:30, Murray Stokely wrote:
| I think none of these examples describe a zlib compressed data block inside a
| binary file that the OP asked about, as all of your examples are e.g.
| prepending gzip or zip headers.?

Yes I fear I have no real idea what Greg is/was talking about.

I can however confirm that I regularly read delimited text data from inside
zip files (as shipped by data vendors) without having to unzip them first,
and also regularly access files which are gzip compressed -- including binary
streams from internal capture/conversion.

Also, my RcppCNPy packages deal with that too in the context of NumPy files
and has examples of how to transparently switch between files which are, or
aren't, compressed by gzip.  

Sorry for wasting bandwidth. I was just trying to help.

Dirk

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com



[Rd] inflate zlib compressed data using base R or CRAN package?
Dirk Eddelbuettel