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.

Maintainer: Jeroen Ooms <jeroen.ooms at>

Author(s): Jeroen Ooms*, Hadley Wickham*, RStudio*

Install package and any missing dependencies by running this line in your R console:


Package curl
Task Views WebTechnologies
Version 2.3
Published 2016-11-24
License MIT + file LICENSE
SystemRequirements libcurl: libcurl-devel (rpm) or libcurl4-openssl-dev (deb).
NeedsCompilation yes
CRAN checks curl check results
Package source curl_2.3.tar.gz