The operation timed out

I have problems when executing: download.file()

this is the error message: InternetOpenUrl failed: 'The operation timed out'

I tried:

options(timeout=190000)
setInternet2(use=NA)
setInternet2(use=FALSE)
setInternet2(use=NA)
curlSetOpt(timeout = 200)
getURL(url_vect[i], timeout = 200)

Also modying the Registre Editor.

But nothing, I cannot fix the problem.

Any Idea?
Thank you very much in advance

It's likely the server timed you out instead of R. Even if you have an infinitely large timeout argument, the server always has the right to refuse you. If it didn't, imagine how easy a Denial of Service attack would be to orchestrate...

What happens if you ping your URL on the command line?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.