Extract files from a zip archive, retaining executable file permissions.
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.
The default method
unzip = NULL uses the external
program in Unix-compatible operating systems, but an internal method in
Windows. For additional information, see the
unzip help page.
No return value, called for side effects.
One shortcoming of the base
unzip function is that the default
"internal" method resets file permissions, so Linux and macOS
executables will return a
'Permission denied' error when run.
This function is identical to the base
unzip function, except the
unzip = NULL chooses an appropriate extraction method in
all operating systems, making it useful when writing platform-independent
unzip is the base function to unzip files.
TAF-package gives an overview of the package.
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.