I'm trying to get a HTML code using httr
and RCurl
using proxies. The process is using a loop, and so every now and then I get the error message
Error in curl::curl_fetch_memory(url, handle = handle) : Couldn't connect to server
What I would like is to add a condition on this type of error, so that the running of the code won't stop everytime this happens.