Learn R Programming

icesTAF (version 3.6.0)

taf.unzip: Unzip File

Description

Extract files from a zip archive, retaining executable file permissions.

Usage

taf.unzip(zipfile, files = NULL, exdir = ".", unzip = NULL, ...)

Arguments

zipfile

zip archive filename.

files

files to extract, default is all files.

exdir

directory to extract to, will be created if necessary.

unzip

extraction method to use, see details below.

...

passed to unzip.

Details

The default method unzip = NULL uses the external unzip program in Unix-compatible operating systems, but an internal method in Windows. For additional information, see the unzip help page.

See Also

unzip is the base function to unzip files.

icesTAF-package gives an overview of the package.

Examples

Run this code
if (FALSE) {
exefile <- if(os.unix()) "run" else "run.exe"
taf.unzip("bootstrap/software/archive.zip", files=exefile, exdir="model")
}

Run the code above in your browser using DataLab