Setting Download Method to 'wget'

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.


wget: Setting Download Method to "wget -c"

The wget::wget_set() function will change the default behavior of 'download.file'. The download method will be changed to using "wget -c" so that continued downloading will be supported. User can run wget::wget_unset() to restore previous setting.

All platforms including Linux, MacOS and Windows are supported.


What you need is to run the wget::wget_set() function. Then download.file(), install.packages() and BiocManager::install() will all support continue retrival.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("wget")

0.0.4 by Guangchuang Yu, a year ago


Browse source code at https://github.com/cran/wget


Authors: Guangchuang Yu [aut, cre] (ORCID:


Documentation:   PDF Manual  


Artistic-2.0 license


Imports yulab.utils


See at CRAN