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.
wget(url = stop("At least one internet adress is required"), ...)
Nothing
The url where to download file
The parameters send to download.file()
Marc Girondot
wget download a file from internet and save it locally
if (FALSE) {
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"))
}
Run the code above in your browser using DataLab