View source: R/removeZipEntry.R
rmZipEntries | R Documentation |
This function deletes entries within an existing archive.
rmZipEntries(archive, entries)
archive |
the name of the archive or the |
entries |
the names or indices of the entries to delete |
An updated version of the archive
object with the
names of the elements updated.
This currently is not implemented for in-memory archives.
We also need to implement a version for RdzArchive
objects
that updates the .toc entry.
Duncan Temple Lang
zipArchive
x = I(c(a = "ABC", b = "DEF", c = "GHIJKLML"))
zip("foo.zip", x, append = FALSE)
z = zipArchive("foo.zip")
new.z = rmZipEntries(z, "b")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.