if(url.exists("http://www.omegahat.net/RCurl/index.html")) {
curl = getCurlHandle()
getURL("http://www.omegahat.net/RCurl/index.html", curl = curl)
getCurlInfo(curl)
rm(curl) # release the curl!
}
Run the code above in your browser using DataLab