by Jeroen Ooms

Monthly downloads



Type Package
License MIT + file LICENSE
SystemRequirements libcurl: libcurl-devel (rpm) or libcurl4-openssl-dev (deb).
VignetteBuilder knitr
LazyData true
NeedsCompilation yes
Packaged 2016-11-23 16:25:15 UTC; jeroen
Repository CRAN
Date/Publication 2016-11-24 12:15:31

A Modern and Flexible Web Client for R

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.

Functions in curl

Name Description
handle Create and configure a curl handle
multi Async Multi Download
nslookup Lookup a hostname
curl_fetch_memory Fetch the contents of a URL
curl Curl connection interface
parse_date Parse date/time
parse_headers Parse response headers
form_file Upload files with form
ie_proxy Internet Explorer proxy settings
handle_cookies Extract cookies from a handle
curl_download Download file to disk
curl_escape URL encoding
No Results!


Get your badge !