wget | R Documentation |
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"), ...)
url |
The url where to download file |
... |
The parameters send to download.file() |
wget download a file from internet and save it locally
Nothing
Marc Girondot
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.