ZipFileArchive-class: Classes related to Zip archives

Description Slots Extends Methods Author(s) See Also Examples

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

1
2
3
4
5
6
7
8
9
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")

statwonk/Rcompression documentation built on May 30, 2019, 10:43 a.m.