is_bzip2 | R Documentation |
We guess that the first two bytes tell us enough to know it is bzip2 file we have. For more information see https://en.wikipedia.org/wiki/Bzip2#File_format and https://www.ietf.org/rfc/rfc1952
is_bzip2(filename)
filename |
the fully qualified name of the file to test |
logical, TRUE if the input is likely gzipped
Other COMPRESSED: is_gzip
,
is_tgz
, is_zip
,
pack_directory
,
test_compressed
, un_bzip2
,
un_gz
, un_tgz
,
un_zip
, unpack_archive
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.