Learn R Programming

RCurl (version 1.98-1.20)

General Network (HTTP/FTP/...) Client Interface for R

Description

A wrapper for 'libcurl' Provides functions to allow one to compose general HTTP requests and provides convenient functions to fetch URIs, get & post forms, etc. and process the results returned by the Web server. This provides a great deal of control over the HTTP/FTP/... connection and the form of the request while providing a higher-level interface than is available just using R socket connections. Additionally, the underlying implementation is robust and extensive, supporting FTP/FTPS/TFTP (uploads and downloads), SSL/HTTPS, telnet, dict, ldap, and also supports cookies, redirects, authentication, etc.

Copy Link

Version

Install

install.packages('RCurl')

Monthly Downloads

191,024

Version

1.98-1.20

License

BSD_3_clause + file LICENSE

Maintainer

Ivan Krylov

Last Published

August 21st, 2026

Functions in RCurl (1.98-1.20)

curlGlobalInit

Start and stop the Curl library
curlPerform

Perform the HTTP query
getCurlHandle

Create libcurl handles
dynCurlReader

Dynamically determine content-type of body from HTTP header and set body reader
getCurlErrorClassNames

Retrieve names of all curl error classes
curlVersion

Information describing the Curl library
CURLEnums

Classes and coercion methods for enumerations in libcurl
getBitIndicators

Operate on bit fields
ftpUpload

Upload content via FTP
findHTTPHeaderEncoding

Find the encoding of the HTTP response from the HTTP header
fileUpload

Specify information about a file to upload in an HTTP request
getBinaryURL

Download binary content
getCurlInfo

Access information about a CURL request
mimeTypeExtensions

Mapping from extension to MIME type
guessMIMEType

Infer the MIME type from a file name
postForm

Submit an HTML form
getURIAsynchronous

Download multiple URIs concurrently, with inter-leaved downloads
httpPUT

Simple high-level functions for HTTP PUT and DELETE
reset

Generic function for resetting an object
getFormParams

Extract parameters from a form query string
merge.list

Method for merging two lists by name
getURL

Download a URI
url.exists

Check if URL exists
scp

Retrieve contents of a file from a remote host via SCP (Secure Copy)
AUTH_ANY

Constants for identifying Authentication Schemes
HTTP_VERSION_1_0

Symbolic constants for specifying HTTP and SSL versions in libcurl
basicTextGatherer

Cumulate text across callbacks (from an HTTP response)
basicHeaderGatherer

Functions for processing the response header of a libcurl request
chunkToLineReader

Utility that collects data from the HTTP reply into lines and calls user-provided function.
curlEscape

Handle characters in URL that need to be escaped
curlOptions

Constructor and accessors for CURLOptions objects
curlError

Raise a warning or error about a CURL problem
binaryBuffer

Create internal C-level data structure for collecting binary data
MultiCURLHandle-class

Class "MultiCURLHandle" for asynchronous, concurrent HTTP requests
clone

Clone/duplicate an object
CFILE

Create a C-level handle for a file
CURLHandle-class

Class "CURLHandle" for synchronous HTTP requests
RCurlInternal

Internal functions
curlSetOpt

Set values for the CURL options
complete

Complete an asynchronous HTTP request
base64

Encode/Decode base64 content
CurlFeatureBits

Constants for libcurl