Learn R Programming

arealDB (version 0.3.9)

testCompressed: Test whether a file is a compressed file

Description

Test whether a file is a compressed file

Usage

testCompressed(x)

Arguments

x

[character(1)] the file name.

Details

This function looks at the file-extension and if it is one of .gz, .bz2, .tar .zip, .tgz, .gzip or .7z, it returns the value TRUE.