search for: memdecompress

Displaying 13 results from an estimated 13 matches for "memdecompress".

2010 Jan 14
1
memDecompress and zlib compressed base64 encoded string
Hi, I have zlib compressed strings (example is attached) and would like to decompress them using memDecompress ... I try this: > connection <- file("compressed.txt","r") > compressed <- readLines(connection) > memDecompress(as.raw(compressed),type="g") Error in memDecompress(as.raw(compressed), type = "g") : internal error -3 in memDecompress(2) In a...
2012 May 02
1
Decompressing raw vectors in memory
Hi all, I'm struggling to decompress a gzip'd raw vector in memory: content <- readBin("http://httpbin.org/gzip", "raw", 1000) memDecompress(content, type = "gzip") # Error in memDecompress(content, type = "gzip") : # internal error -3 in memDecompress(2) I'm reasonably certain that the file is correctly compressed, because if I save it out to a file, I can read the uncompressed data: tmp <- tempfile() writ...
2010 Jul 09
2
Compress string memCompress/Decompress
...ly using standard gzip/bzip2 compression. In theory it should be much faster for me to compress/decompress a long string than to write the whole string to the hard drive and then read it back (not to mention the saved hard drive space). I have tried accomplishing this task using memCompress() and memDecompress() without success. It seems memCompress can only convert a character vector to raw type which cannot be treated as a string. Does anyone have ideas on how I can go about doing this, especially using the standard base packages? Thanks!, Erik > sessionInfo() R version 2.11.0 (2010-04-22) x86...
2010 May 31
1
R 2.11.1 is released
...pass to get hyperlinked pages correct. o interaction() produced malformed results when levels were duplicated, causing segfaults in split(). o cut(d, breaks = <n>) now also works for "Date" or "POSIXt" argument d. (PR#14288) o memDecompress() could decompress incompletely rare xz-compressed input due to incorrect documentation of xz utils. (Report and patch from Olaf Mersmann.) o The S4 initialize() methods for "matrix", "array", and "ts" have been fixed to call validObject...
2010 May 31
1
R 2.11.1 is released
...pass to get hyperlinked pages correct. o interaction() produced malformed results when levels were duplicated, causing segfaults in split(). o cut(d, breaks = <n>) now also works for "Date" or "POSIXt" argument d. (PR#14288) o memDecompress() could decompress incompletely rare xz-compressed input due to incorrect documentation of xz utils. (Report and patch from Olaf Mersmann.) o The S4 initialize() methods for "matrix", "array", and "ts" have been fixed to call validObject...
2010 Sep 08
2
Uncompressing data from read.socket
Hi, Is it possible to uncompress gzipped data coming over a socket? [[alternative HTML version deleted]]
2020 Apr 24
0
R 4.0.0 is released
...and the advice of Herv'e Pag`es. * print()'s default method and many other methods (by calling the default eventually and passing ...) now make use of a new optional width argument, avoiding the need for the user to set and reset options("width"). * memDecompress() supports the RFC 1952 format (e.g. in-memory copies of gzip-compressed files) as well as RFC 1950. * memCompress() and memDecompress() support long raw vectors for types "gzip" and "zx". * sweep() and slice.index() can now use names of dimnames for their...
2020 Apr 24
0
R 4.0.0 is released
...and the advice of Herv'e Pag`es. * print()'s default method and many other methods (by calling the default eventually and passing ...) now make use of a new optional width argument, avoiding the need for the user to set and reset options("width"). * memDecompress() supports the RFC 1952 format (e.g. in-memory copies of gzip-compressed files) as well as RFC 1950. * memCompress() and memDecompress() support long raw vectors for types "gzip" and "zx". * sweep() and slice.index() can now use names of dimnames for their...
2020 Apr 24
0
R 4.0.0 is released
...and the advice of Herv'e Pag`es. * print()'s default method and many other methods (by calling the default eventually and passing ...) now make use of a new optional width argument, avoiding the need for the user to set and reset options("width"). * memDecompress() supports the RFC 1952 format (e.g. in-memory copies of gzip-compressed files) as well as RFC 1950. * memCompress() and memDecompress() support long raw vectors for types "gzip" and "zx". * sweep() and slice.index() can now use names of dimnames for their...
2009 Oct 26
0
R 2.9.0 is released
...ON o New function untar() to list or unpack tar archives, possibly compressed. This uses either an external 'tar' command or an internal implementation. o New function tar() to create (possibly compressed) tar archives. o New functions memCompress() and memDecompress() for in-memory compression and decompression. o bzfile() has a 'compress' argument to select the amount of effort put into compression when writing. o New function xzfile() for use with xz-compressed files. (This can also read files compressed by some...
2009 Oct 26
0
R 2.9.0 is released
...ON o New function untar() to list or unpack tar archives, possibly compressed. This uses either an external 'tar' command or an internal implementation. o New function tar() to create (possibly compressed) tar archives. o New functions memCompress() and memDecompress() for in-memory compression and decompression. o bzfile() has a 'compress' argument to select the amount of effort put into compression when writing. o New function xzfile() for use with xz-compressed files. (This can also read files compressed by some...
2009 Oct 26
0
R 2.10.0 is released
...ON o New function untar() to list or unpack tar archives, possibly compressed. This uses either an external 'tar' command or an internal implementation. o New function tar() to create (possibly compressed) tar archives. o New functions memCompress() and memDecompress() for in-memory compression and decompression. o bzfile() has a 'compress' argument to select the amount of effort put into compression when writing. o New function xzfile() for use with xz-compressed files. (This can also read files compressed by some...
2009 Oct 26
0
R 2.10.0 is released
...ON o New function untar() to list or unpack tar archives, possibly compressed. This uses either an external 'tar' command or an internal implementation. o New function tar() to create (possibly compressed) tar archives. o New functions memCompress() and memDecompress() for in-memory compression and decompression. o bzfile() has a 'compress' argument to select the amount of effort put into compression when writing. o New function xzfile() for use with xz-compressed files. (This can also read files compressed by some...