Skip to content
/ wget Public
forked from YuLab-SMU/wget

download files in R using wget -c

Notifications You must be signed in to change notification settings

chaoslure/wget

This branch is 4 commits ahead of, 16 commits behind YuLab-SMU/wget:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

753a8f0 · May 11, 2020

History

10 Commits
May 11, 2020
May 9, 2020
Apr 27, 2020
Apr 27, 2020
Apr 27, 2020
Apr 27, 2020
Apr 27, 2020
Apr 27, 2020

Repository files navigation

wget: Setting Download Method to "wget -c"

Loading this package 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_unset()' to disable it.

All platforms including Linux, MacOS and Windows are supported.


What you need is to load the package by library(wget). Then download.file(), install.packages() and BiocManager::install() will all support continue retrival.

see also https://mp.weixin.qq.com/s/z2ceLeSel1m8uxuNb1px3g (in Chinese).

You can load the wget package at R startup by adding the following command to ~/.Rprofile (~/Documents/.Rprofile if in Windows).

library(wget)

About

download files in R using wget -c

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 69.4%
  • Makefile 30.6%