| Line 1... |
Line 1... |
| 1 |
% File src/library/base/man/memCompress.Rd
|
1 |
% File src/library/base/man/memCompress.Rd
|
| 2 |
% Part of the R package, https://www.R-project.org
|
2 |
% Part of the R package, https://www.R-project.org
|
| 3 |
% Copyright 2009-11 R Core Team
|
3 |
% Copyright 2009-2017 R Core Team
|
| 4 |
% Distributed under GPL 2 or later
|
4 |
% Distributed under GPL 2 or later
|
| 5 |
|
5 |
|
| 6 |
\name{memCompress}
|
6 |
\name{memCompress}
|
| 7 |
\alias{memCompress}
|
7 |
\alias{memCompress}
|
| 8 |
\alias{memDecompress}
|
8 |
\alias{memDecompress}
|
| Line 50... |
Line 50... |
| 50 |
compressed with \command{xz} version 4.999 and some versions of
|
50 |
compressed with \command{xz} version 4.999 and some versions of
|
| 51 |
\command{lzma}. There are other versions, in particular \sQuote{raw}
|
51 |
\command{lzma}. There are other versions, in particular \sQuote{raw}
|
| 52 |
streams, that are not currently handled.
|
52 |
streams, that are not currently handled.
|
| 53 |
|
53 |
|
| 54 |
All the types of compression can expand the input: for \code{"gzip"}
|
54 |
All the types of compression can expand the input: for \code{"gzip"}
|
| 55 |
and \code{"bzip"} the maximum expansion is known and so
|
55 |
and \code{"bzip2"} the maximum expansion is known and so
|
| 56 |
\code{memCompress} can always allocate sufficient space. For
|
56 |
\code{memCompress} can always allocate sufficient space. For
|
| 57 |
\code{"xz"} it is possible (but extremely unlikely) that compression
|
57 |
\code{"xz"} it is possible (but extremely unlikely) that compression
|
| 58 |
will fail if the output would have been too large.
|
58 |
will fail if the output would have been too large.
|
| 59 |
}
|
59 |
}
|
| 60 |
|
60 |
|
| Line 63... |
Line 63... |
| 63 |
}
|
63 |
}
|
| 64 |
|
64 |
|
| 65 |
\seealso{
|
65 |
\seealso{
|
| 66 |
\link{connections}.
|
66 |
\link{connections}.
|
| 67 |
|
67 |
|
| - |
|
68 |
\code{\link{extSoftVersion}} for the versions of the \code{zlib},
|
| - |
|
69 |
\code{bzip2} and \code{xz} libraries in use.
|
| - |
|
70 |
|
| 68 |
\url{https://en.wikipedia.org/wiki/Data_compression} for background on
|
71 |
\url{https://en.wikipedia.org/wiki/Data_compression} for background on
|
| 69 |
data compression, \url{http://zlib.net/},
|
72 |
data compression, \url{http://zlib.net/},
|
| 70 |
\url{https://en.wikipedia.org/wiki/Gzip}, \url{http://www.bzip.org/},
|
73 |
\url{https://en.wikipedia.org/wiki/Gzip}, \url{http://www.bzip.org/},
|
| 71 |
\url{https://en.wikipedia.org/wiki/Bzip2}, \url{http://tukaani.org/xz/}
|
74 |
\url{https://en.wikipedia.org/wiki/Bzip2}, \url{http://tukaani.org/xz/}
|
| 72 |
and \url{https://en.wikipedia.org/wiki/Xz} for references about the
|
75 |
and \url{https://en.wikipedia.org/wiki/Xz} for references about the
|