| restoreTask {D4TAlink.light} | R Documentation |
Restore an archive containing the files of a given task from a file created with archiveTask.
Description
Restore an archive containing the files of a given task from a file created with archiveTask.
Usage
restoreTask(file, overwrite = FALSE, list = FALSE, code = TRUE, ...)
Arguments
file |
full name of the input zip file
|
overwrite |
If TRUE, overwrite existing files (the equivalent
of unzip -o), otherwise ignore such files (the equivalent of
unzip -n).
|
list |
If TRUE, list the files and extract none. The
equivalent of unzip -l.
|
code |
restore code, default TRUE
|
... |
Arguments passed on to utils::unzip
zipfileThe pathname of the zip file: tilde expansion (see
path.expand) will be performed.
filesA character vector of recorded filepaths to be extracted:
the default is to extract all files.
junkpathsIf TRUE, use only the basename of the stored
filepath when extracting. The equivalent of unzip -j.
exdirThe directory to extract files to (the equivalent of
unzip -d). It will be created if necessary.
unzipThe method to be used. An alternative is to use
getOption("unzip"), which on a Unix-alike may be set to the
path to a unzip program.
setTimeslogical. For the internal method only, should the
file times be set based on the times in the zip file? (NB: this
applies to included files, not to directories.)
|
Value
if list FALSE, the task imported incisibly, otherwise the list of files in the archive.
[Package
D4TAlink.light version 2.1.14
Index]