gunzip: Decompress 'gzip' files

.gunzipR Documentation

Decompress 'gzip' files

Description

Decompress 'gzip' files.

Usage

.gunzip(
  filename,
  destname = gsub("[.]gz$", "", filename),
  overwrite = FALSE,
  remove = TRUE,
  BFR.SIZE = 1e+07
)

Arguments

filename

Character vector with the files names to be decompressed

destname

The destination file.

overwrite

Logic (FALSE) indicating whether or not to overwrite a destfile of the same name.

remove

Logic (TRUE) indicating whether or not to remove the original file after completion.

BFR.SIZE

The size of the read buffer.

Details

This function is originally from the R packages 'R.utils'. Herein, the version as given by 'GEOquery' is incorporated.

Value

Invisibly, the number of bytes read.

Author(s)

Original author: Henrik Bengtsson.


genomaths/MethylIT documentation built on Feb. 3, 2024, 1:24 a.m.