try.download: Download multiple files, making a specified number of...

Description Usage Arguments Value Author(s)

Description

Download multiple files, making a specified number of attempts before giving up

Usage

1
2
try.download(urls, destfiles = gsub(".*/", "", urls), tries = 10,
  mode = "wb", overwrite = T, quiet = T, verbose = T, ...)

Arguments

urls

URLs to download

destfiles

Filenames for downloaded files - defaults to filename in the URL

tries

How many tries to make before giving up

verbose

Print an update after each file?

...

Passed on to download.file

Value

A data.frame reporting whether each file was already on disk, downloaded successfully, or could not be downloaded

Author(s)

Lauri Myllyvirta lauri.myllyvirta@greenpeace.org


laurimyllyvirta/lauR documentation built on April 28, 2021, 6:26 p.m.