ZipFileArchive-class | R Documentation |
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.
.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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.