Description Usage Arguments Value Examples
View source: R/download_retry.R
This function is based on the Bioconductor guidelines for querying data from
the web at http://bioconductor.org/developers/how-to/web-query/. It
will run download a set of N.TRIES
times before
giving up. We implemented this function to reduce the number of Bioconductor
build errors due to the occassional errors from our data hosting server.
1 |
url |
The URL to download. Passed to download. |
destfile |
The destination file. Defaults to the base name of the URL. Passed to download. |
mode |
Mode for writing the file. The default |
N.TRIES |
The number of download attempts before giving up; default: 3. Should be an integer of length one with a value greater than 0. |
... |
Additional arguments passed to download. |
An invisible integer code as specified in download.file.
1 2 3 4 | ## Download the first files_info.tsv file (version 1)
download_retry(
recount_url$url[which(recount_url$file_name == "files_info.tsv")[1]]
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.