ghzip | R Documentation |
ghzip
creates a ZIP file (if dest
has an extension zip
) or copies to the destination directory.
If dest
is NULL
then a temporary directory will be used.
Please note that neither the ZIP file is deleted nor the target directory is cleaned beforehand
if it already exists.
ghzip(files, dest = NULL)
files |
|
dest |
character: ZIP file name of destination directory (default: |
the name of the destination directory or the ZIP file
if (interactive()) {
zipfile <- tempfile(fileext='.zip')
files <- list.files(system.file(package="mmstat4"), recursive=TRUE)
ghzip(files, zipfile)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.