| Line 46... |
Line 46... |
| 46 |
}
|
46 |
}
|
| 47 |
\note{
|
47 |
\note{
|
| 48 |
The default internal method is a minimal implementation, principally
|
48 |
The default internal method is a minimal implementation, principally
|
| 49 |
designed for Windows' users to be able to unpack Windows binary
|
49 |
designed for Windows' users to be able to unpack Windows binary
|
| 50 |
packages without external software. It does not (for example) support
|
50 |
packages without external software. It does not (for example) support
|
| 51 |
Unicode filenames as introduced in \command{zip 3.0}: for that use
|
51 |
Unicode filenames as introduced in \command{zip} 3.0: for that use
|
| 52 |
\code{unzip = "unzip"} with \command{unzip 6.00} or later. It does
|
52 |
\code{unzip = "unzip"} with \command{unzip} 6.00 or later. It does
|
| 53 |
have some support for \command{bzip2} compression and > 2GB zip files
|
53 |
have some support for \command{bzip2} compression and > 2GB zip files
|
| 54 |
(but not >= 4GB files pre-compression contained in a zip file: like
|
54 |
(but not >= 4GB files pre-compression contained in a zip file: like
|
| 55 |
many builds of \command{unzip} it may truncate these, in \R's case
|
55 |
many builds of \command{unzip} it may truncate these, in \R's case
|
| 56 |
with a warning if possible).
|
56 |
with a warning if possible).
|
| 57 |
|
57 |
|
| 58 |
If \code{unzip} specifies a program, the format of the dates listed
|
58 |
If \code{unzip} specifies a program, the format of the dates listed
|
| 59 |
with \code{list = TRUE} is unknown (on Windows it can even depend on
|
59 |
with \code{list = TRUE} is unknown (on Windows it can even depend on
|
| 60 |
the current locale) and the return values could be \code{NA} or
|
60 |
the current locale) and the return values could be \code{NA} or
|
| 61 |
expressed in the wrong time zone or misinterpreted (the latter being
|
61 |
expressed in the wrong time zone or misinterpreted (the latter being
|
| 62 |
far less likely as from \command{unzip 6.00}).
|
62 |
far less likely as from \command{unzip} 6.00).
|
| 63 |
|
63 |
|
| 64 |
File times in zip files are stored in the style of MS-DOS, as local times
|
64 |
File times in zip files are stored in the style of MS-DOS, as local times
|
| 65 |
to an accuracy of 2 seconds. This is not very useful when
|
65 |
to an accuracy of 2 seconds. This is not very useful when
|
| 66 |
transferring zip files between machines (even across continents), so
|
66 |
transferring zip files between machines (even across continents), so
|
| 67 |
we chose not to restore them by default.
|
67 |
we chose not to restore them by default.
|
| 68 |
|
68 |
|
| 69 |
The internal method now follows \command{unzip 6.00} in how it handles
|
69 |
The internal method now follows \command{unzip} 6.00 in how it handles
|
| 70 |
extracted file paths which contain \code{"../"}.
|
70 |
extracted file paths which contain \code{"../"}.
|
| 71 |
}
|
71 |
}
|
| 72 |
|
72 |
|
| 73 |
\value{
|
73 |
\value{
|
| 74 |
If \code{list = TRUE}, a data frame with columns \code{Name}
|
74 |
If \code{list = TRUE}, a data frame with columns \code{Name}
|