Re: [R] compress data on read, decompress on write

2008-02-29 Thread Ramon Diaz-Uriarte
es and values of the non-zero > >> elements) and this affords great compression ratios, depending on > >> the size > >> and degree of sparseness of the matrix. > >> > >> -Christos > >> > >> > >> > >>>

Re: [R] compress data on read, decompress on write

2008-02-28 Thread Gregory Warnes
eat compression ratios, depending on >> the size >> and degree of sparseness of the matrix. >> >> -Christos >> >> >> >>> -Original Message----- >>> From: [EMAIL PROTECTED] >>> [mailto:[EMAIL PROTECTED] On Behalf Of Ramon

Re: [R] compress data on read, decompress on write

2008-02-28 Thread Ramon Diaz-Uriarte
Dear Prof. Ripley, Thanks a lot. I've just looked at Rcompression and it seems to do exactly what I need, though it requires having zlib and bzip2 installed (and I am not sure if this will deter some windows users). I'll also check connections.c, which might be a way to go, or else wait for the re

Re: [R] compress data on read, decompress on write

2008-02-28 Thread Ramon Diaz-Uriarte
rsday, February 28, 2008 1:18 PM > > To: [EMAIL PROTECTED] > > Subject: [R] compress data on read, decompress on write > > > > Dear All, > > > > I'd like to be able to have R store (in a list component) a > > compressed data set, and then wr

Re: [R] compress data on read, decompress on write

2008-02-28 Thread Prof Brian Ripley
One solution is likely to be the Omegahat package Rcompression. Otherwise, R does have internal facilities to do internal (gzip) compression and decompression (e.g. see the end of src/main/connections.c), and you could make creative use of serialization to do the compression. On Thu, 28 Feb 20

Re: [R] compress data on read, decompress on write

2008-02-28 Thread Christos Hatzis
Behalf Of Ramon Diaz-Uriarte > Sent: Thursday, February 28, 2008 1:18 PM > To: [EMAIL PROTECTED] > Subject: [R] compress data on read, decompress on write > > Dear All, > > I'd like to be able to have R store (in a list component) a > compressed data set, and then write it

[R] compress data on read, decompress on write

2008-02-28 Thread Ramon Diaz-Uriarte
Dear All, I'd like to be able to have R store (in a list component) a compressed data set, and then write it out uncompressed. gzcon and gzfile work in exactly the opposite direction. What would be a good way to handle this? Details: -- We have a package that uses C; part of the C output