ZipFileArchive-class {Rcompression} | R Documentation |
These classes represent Zip archives within a file (ZipFileArchive
),
within a memory buffer (ZipMemoryArchive
), and individual entries
within a Zip archive ((ZipArchiveEntry
).
.Data
:Object of class "character"
~~
classes
:Object of class "character"
~~
elements
:Object of class "character"
that
gives the names of the elements within an archive.
Class "character"
, from data part.
Class "ZipArchive"
, directly.
Class "vector"
, by class "character", distance 2.
No methods defined with class "ZipFileArchive" in the signature.
Duncan Temple Lang
The ROOXML
package uses these to access elements
of a Office Open XML document.
showClass("ZipFileArchive") out = paste(tempfile(), "zip", sep = ".") dir = system.file("R", package = "Rcompression") zipFile = system(paste("zip -r", out, dir)) ar = zipArchive(out) names(ar) ar[[ "bob" ]] = system.file("DESCRIPTION", package = "Rcompression") ar[[ ]] = system.file("INDEX", package = "Rcompression")