unzip.files | R Documentation |
Wrapper for unzip()
which unzips a single file.
unzip.files(
zipfile,
files = NULL,
exdir = ".",
unzip = "internal",
overwrite = TRUE,
...
)
zipfile |
vector of names of files to unzip |
files |
Optional, NULL by default which signifies all files in each zipfile will be extracted. Otherwise, a list, with the nth element being a vector (length 1 or more) of character string names of files to extract from the nth zipfile. |
exdir |
The directory to extract files to (the equivalent of unzip -d). It will be created if necessary. |
unzip |
See help for unzip |
overwrite |
Logical, optional, TRUE by default which means the local file is not overwritten if it already exists. |
... |
Other arguments passed through to unzip |
Returns a list of the filepaths extracted to, from each zipfile. Names of list are the zip file names.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.