un_gz: Unpack a gzipped archive.

View source: R/compressed.R

un_gzR Documentation

Unpack a gzipped archive.

Description

Unpack a gzipped archive.

Usage

un_gz(filename, out = NA, extra = "-d")

Arguments

filename

the fully qualified name of the file to unpack

out

the name of the outfile to create, if NA then it is whatever gets unpacked. If you specify out be sure that extra gets at least '-cd'

extra

extra arguments for the system's gzip command

Value

a character vector of the uncompressed filenames including relative paths

See Also

Other COMPRESSED: is_bzip2, is_gzip, is_tgz, is_zip, pack_directory, test_compressed, un_bzip2, un_tgz, un_zip, unpack_archive


BigelowLab/rscripting documentation built on Oct. 24, 2022, 5:31 p.m.