# NOT RUN {
urls <- c("https://www.alexchubaty.com/uploads/2011/11/open-forest-science-journal.csl",
"https://www.alexchubaty.com/uploads/2011/08/models_GUI_2011-08-07.zip",
"http://example.com/doesntexist.csv")
try(remoteFileSize(urls)) ## 5429, 3997384, 0
# }
Run the code above in your browser using DataLab