wget {HelpersMG} | R Documentation |
Download a file from internet and save it locally
Description
Download a file from internet and save it locally. This function is a wrapper for download.files() that keep the name identical and can get several files at once. It was written to simplify downloading of file. It doest not use the true wget function (https://www.gnu.org/software/wget/) which is much more complex but also powerful.
Usage
wget(url = stop("At least one internet adress is required"), ...)
Arguments
url |
The url where to download file |
... |
The parameters send to download.file() |
Details
wget download a file from internet and save it locally
Value
Nothing
Author(s)
Marc Girondot
Examples
## Not run:
library(HelpersMG)
# Save locally the files send in the parameter url
wget(c("https://cran.r-project.org/web/packages/HelpersMG/HelpersMG.pdf",
"https://cran.r-project.org/web/packages/embryogrowth/embryogrowth.pdf"))
## End(Not run)
[Package HelpersMG version 6.1 Index]