powered by
Call httr::HEAD() and return the number of bytes in the file to be downloaded.
httr::HEAD()
url_file_size(url)
The URL of the file to query.
The size of a file to be downloaded.
# NOT RUN { url_file_size("https://cran.r-project.org/bin/macosx/old/R-2.0.1.dmg") # }
Run the code above in your browser using DataLab