Re: [R] Writing to gzcon with rawConnection

2014-07-31 Thread Ben Sully
Did you ever manage to solve this problem, Jamie? Ben On Friday, 2 May 2014 19:50:27 UTC+1, Jamie Olson wrote: I would like to encode/decode some text with deflate/gzip, but I'm having trouble. Decoding values from a rawConnection is fairly straightforward, but I'm having trouble

[R] Writing to gzcon with rawConnection

2014-05-02 Thread Jamie Olson
I would like to encode/decode some text with deflate/gzip, but I'm having trouble. Decoding values from a rawConnection is fairly straightforward, but I'm having trouble encoding values and then retrieving them. gz_out - gzcon(raw_out - rawConnection(raw(0),open=wb))