[Rd] Decompressing raw vectors in memory

Hadley Wickham hadley at rice.edu
Wed May 2 18:53:44 CEST 2012


> I understand the desire not to have any dependency on additional
> packages, and I have no desire to engage in any "mine's better" exchanges.
> So write this just for the record.
> The gzunzip() function handle this.

Funnily enough I just discovered that RCurl already handles this: you
just need to set encoding = "gzip".  No extra dependencies, and yours
is better ;)

Hadley

-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/



More information about the R-devel mailing list