I have many thousands of Internet addresses and I have to verify if each url still exists. In R (3.1.2 on Ubuntu 14.04) I use the url.exists function of the RCurl package and everything is fine. But there is a single case in which the RCurl remains stucked in a loop forever:
url.exists("www.iisgrottaminarda.it")
I have tried the same command on a Mac with the same version of R and the result is
FALSE
Following a suggestion by @thomas I tried to check the status of the website with the httr package:
http_status(GET("www.iisgrottaminarda.it"))
and the result is:
$category [1] "success"
$message [1] "success: (200) OK"
This is a bit odd...
I also tried to use the followLocation parameter to block redirects (as suggested always by @thomas) but without luck.
How I can fix this problem? Thank you