powered by
Extract files from a zip archive, retaining executable file permissions.
taf.unzip(zipfile, files = NULL, exdir = ".", unzip = NULL, ...)
zip archive filename.
files to extract, default is all files.
directory to extract to, will be created if necessary.
extraction method to use, see details below.
passed to unzip.
unzip
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.
unzip = NULL
unzip is the base function to unzip files.
icesTAF-package gives an overview of the package.
icesTAF-package
# NOT RUN { 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