ZipFileArchive-class {Rcompression}R 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).

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


[Package Rcompression version 0.93-2 Index]