[R] WDI package commands timing out and not working
Anupam Tyagi
@nupty@g| @end|ng |rom gm@||@com
Fri Aug 9 15:00:05 CEST 2024
In the browser the link downloads immediately, in less than a second. I let
the command run in R for five minutes, using R Studio. Nothing happened.
On Fri, 9 Aug 2024 at 17:54, Ivan Krylov <ikrylov using disroot.org> wrote:
> В Thu, 8 Aug 2024 12:43:23 +0530
> Anupam Tyagi <anuptyagi using gmail.com> пишет:
>
> > In open.connection(con, "rb") :
> > URL
> > '
> https://api.worldbank.org/v2/en/country/OED/indicator/NY.ADJ.NNAT.GN.ZS?format=json&date=1977:2020&per_page=32500&page=1
> ':
> > Timeout of 60 seconds was reached
>
> If you try to open the link in the browser, does it work? How long does
> it take to download? Try increasing options(timeout=...) to a larger
> time (in seconds).
>
> I see there is Cloudflare sitting in front of the API, but it's
> relatively non-aggressive. I could only get it to deny my request by
> accessing it through Tor.
>
> --
> Best regards,
> Ivan
>
--
Anupam.
[[alternative HTML version deleted]]
More information about the R-help
mailing list