gzip.GenericDataFile | R Documentation |
Compresses/uncompresses a file using gzip compression.
When compressing (uncompressing), the new filename has suffix .gz
appended (removed), which is also used to test if a file is gzip'ed
or not.
## S3 method for class 'GenericDataFile'
gzip(this, ...)
## S3 method for class 'GenericDataFile'
gunzip(this, ...)
## S3 method for class 'GenericDataFile'
isGzipped(this, ...)
... |
Arguments passed to "R.utils::gzip" and "R.utils::gunzip", respectively. |
Returns (invisibly) the updated pathname. When compressing (uncompressing), an exception is thrown if the file is already compressed (not compressed). An exception is thrown if the file does not exist.
Henrik Bengtsson
Internally gzip
is used.
For more information see GenericDataFile
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.