archive {archive} | R Documentation |
Construct a new archive
Description
This function retrieves metadata about files in an archive, it can be passed
to archive_read()
or archive_write to create a connection to read or
write a specific file from the archive.
Usage
archive(file, options = character())
Arguments
file |
File path to the archive. |
options |
|
Value
A tibble with details about files in the archive.
See Also
archive_read()
, archive_write()
to read and write archive files
using R connections, archive_extract()
, archive_write_files()
,
archive_write_dir()
to add or extract files from an archive.
Examples
a <- archive(system.file(package = "archive", "extdata", "data.zip"))
a