unpack_archive | R Documentation |
This is a loose routine to unpack and list the contents of a file, possibely a compressed file. If a directory is provided then return a list of the contents, if an uncompressed file (or some other thing) is provided then return just that.
unpack_archive(filename, ...)
filename |
the fully qualified name(s) of the file to unpack |
... |
extra arguments for the system's decompression command (unzip, gzip -d, tar -x) |
See un_zip
, un_gz
and un_tgz
a character vector of the uncompressed filenames including relative paths or a list of such if multiple filenames are provided
Other COMPRESSED: is_bzip2
,
is_gzip
, is_tgz
,
is_zip
, pack_directory
,
test_compressed
, un_bzip2
,
un_gz
, un_tgz
,
un_zip
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.