Description Usage Arguments Value Author(s) Examples
To avoid redownloading existing files, verify if the file exists locally. If the file exists, compare the checksum value to that logged by original download.
1 2 3 |
urls |
A character string. Represents the url of file to be downloaded. |
destfile |
A character string. Represents the name where resulting file is saved. |
checkhash |
Logical. If |
quick |
Logical. If |
dbHash |
Character string. The path to the database file where checksum
value of file is logged.
If the database does not yet exist, one is created.
Default is to use the option |
cascade |
Logical. If |
quiet |
Logical. If |
Invoked for its side-effect of downloading files to the destfile/
directory.
Melina Houle
1 2 3 4 5 | ## Not run:
u <-"http://ftp.geogratis.gc.ca/pub/nrcan_rncan/archive/vector/cli_itc_50k/land_use/L040J03.zip"
hashDownload(urls = u, destfile = tempdir(), checkhash = FALSE, cascade = FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.