ZipFileArchive-class: Classes related to Zip archives

ZipFileArchive-classR Documentation

Classes related to Zip archives

Description

These classes represent Zip archives within a file (ZipFileArchive), within a memory buffer (ZipMemoryArchive), and individual entries within a Zip archive ((ZipArchiveEntry).

Volatile is a class that has no slots but is used to identify if the contents of the object may change without the R object changing, e.g. an external file such as a Zip archive.

Slots

.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.

Extends

Class "character", from data part. Class "ZipArchive", directly. Class "vector", by class "character", distance 2.

Methods

No methods defined with class "ZipFileArchive" in the signature.

Author(s)

Duncan Temple Lang

See Also

The ROOXML package uses these to access elements of a Office Open XML document.

Examples

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")


omegahat/Rcompression documentation built on Nov. 29, 2023, 12:45 a.m.