tryCatch(withAutoprint({
h = basicHeaderGatherer()
getURI("https://r-project.org",
headerfunction = h$update)
names(h$value())
h$value()
}), GenericCurlError = identity)
Run the code above in your browser using DataLab