I am creating this package <https://github.com/lucasmation/microdadosBrasil>
that has to download data from some sources that are a bit
unstable/unreliable. The problem is described in this issue
<https://github.com/lucasmation/microdadosBrasil/issues/56>.

Is there a more "robust" download fucntion in R?
Something similar to wget, that would:

- where there are errors, repeat the download a few times before giving up,
preferably, using partial data on a file being downloaded from previous
attempts
- check the integrity of the downloaded file

As this has to be embedded in an R package, the solution needs to be OS
independent and require no installation of external software by the user.

regards
Lucas

        [[alternative HTML version deleted]]

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to