Learn R Programming

campfin (version 1.0.9)

url_file_size: Check a URL file size

Description

Call httr::HEAD() and return the number of bytes in the file to be downloaded.

Usage

url_file_size(url)

Value

The size of a file to be downloaded.

Arguments

url

The URL of the file to query.

Examples

Run this code
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