allowCompressedFileName: Allow .gz filename extensions

allowCompressedFileNameR Documentation

Allow .gz filename extensions

Description

Find a named file, allowing for the possibility it was 'gzip' compressed

Usage

allowCompressedFileName(filename)

Arguments

filename

full pathname of one existing file, with or without .gz suffix

Details

Confirms the existance of the named file for reading. If not found, searches for the file with a compression suffix of .gz or .bz2

Value

the filename, with appropriate suffix attached if needed.


robertdouglasmorrison/DuffyTools documentation built on April 13, 2025, 8:51 p.m.