zipFile: Archives files

View source: R/io.R

zipFileR Documentation

Archives files

Description

Archives one or several files to a .zip extension. Optionally, a separate name can be given to the archive.

Usage

zipFile(inputs, zipped = NULL)

zipWorkingDir(zipName)

Arguments

inputs

one or several input files to archive.

zipped

optional character to name the archive.

zipName

a character naming the working directory to be archived.

Value

Returns the file name of the zipped archive.

Functions

  • zipWorkingDir: Archives the whole working directory.

Author(s)

Rehrauer, Hubert

Schmid, Peter

Examples

write("a file","exampleFile")
zipFile("exampleFile")

uzh/ezRun documentation built on May 4, 2024, 3:23 p.m.