Title: | Setting Download Method to 'wget' |
Version: | 0.0.3 |
Description: | Provides function, wget_set(), to change the method (default to 'wget -c') using in download.file(). Using 'wget -c' allowing continued downloading, which is especially useful for slow internet connection and for downloading large files. User can run wget_unset() to restore previous setting. |
Imports: | yulab.utils (≥ 0.1.7) |
License: | Artistic-2.0 |
Encoding: | UTF-8 |
RoxygenNote: | 7.3.2 |
NeedsCompilation: | no |
Packaged: | 2024-09-24 09:11:10 UTC; HUAWEI |
Author: | Guangchuang Yu |
Maintainer: | Guangchuang Yu <guangchuangyu@gmail.com> |
Repository: | CRAN |
Date/Publication: | 2024-09-24 09:30:02 UTC |
wget_set
Description
set "download.file.method" to "wget" and "download.file.extra" to "-c"
Usage
wget_set(method = "wget", extra = "-c")
Arguments
method |
download method (wget, default) |
extra |
extra parameter (-c, default) |
Details
setting download method to "wget -c", so that it can continue the download from where it left off.
Value
No return value, called for side effects
Author(s)
Guangchuang Yu
Examples
wget_set()
wget_unset
Description
unset download method setting by wget_set
Usage
wget_unset()
Details
set the download method and extra parameter back to what it is or NULL if it is not specify
Value
No return value, called for side effects
Author(s)
Guangchuang Yu
Examples
wget_unset()