A Modern and Flexible Web Client for R
Download file to disk
Echo Service
URL encoding
Fetch the contents of a URL
List curl version and options.
Upload a File
Curl connection interface
Lazy File Writer
Extract cookies from a handle
Create and configure a curl handle
Internet Explorer proxy settings
Advanced download interface
Async Concurrent Requests
POST files or data
Lookup a hostname
Parse date/time
Parse response headers
Send email
The curl() and curl_download() functions provide highly configurable drop-in replacements for base url() and download.file() with better performance, support for encryption (https, ftps), gzip compression, authentication, and other 'libcurl' goodies. The core of the package implements a framework for performing fully customized requests where data can be processed either in memory, on disk, or streaming via the callback or connection interfaces. Some knowledge of 'libcurl' is recommended; for a more-user-friendly web client see the 'httr' package which builds on this package with http specific tools and logic.