download.url.Rd
This will download a file, if retry is set and 404 is returned it will wait until the file is available. If the file is still not available after timeout tries, it will return NA. If the file is downloaded it will return the name of the file
download.url(url, file, timeout = 600, .opts = list(), retry = TRUE)
returns name of file if successful or NA if not.
if (FALSE) { # \dontrun{
download.url('http://localhost/', index.html)
} # }