options(RCurlOptions = list(verbose = TRUE,
followlocation = TRUE,
autoreferer = TRUE,
nosignal = TRUE))
if(url.exists("https://r-project.org")) {
x = getURL("https://r-project.org")
# here we override one of these.
x = getURL("https://r-project.org", verbose = FALSE)
}
Run the code above in your browser using DataLab