Learn R Programming

⚠️There's a newer version (1.98-1.17) of this package.Take me there.

RCurl (version 0.9-2)

HTTP request interface

Description

The package allows one to compose HTTP requests to fetch URIs, post forms, etc. and process the results returned by the Web server. This provides a great deal of control over the HTTP 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 SSL/HTTPS, cookies, redirects, authentication, etc.

Copy Link

Version

Install

install.packages('RCurl')

Monthly Downloads

122,185

Version

0.9-2

License

BSD

Maintainer

Duncan Lang

Last Published

March 22nd, 2025

Functions in RCurl (0.9-2)

CURLHandle-class

Class "CURLHandle" for synchronous HTTP requests
CurlFeatureBits

Constants for libcurl
base64

Encode/Decode base64 content
binaryBuffer

Create internal C-level data structure for collecting binary data
curlVersion

Information describing the Curl library
MultiCURLHandle-class

Class "MultiCURLHandle" for asynchronous, concurrent HTTP requests
getCurlInfo

Access information about a CURL request
chunkToLineReader

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

Set values for the CURL options
curlEscape

Handle characters in URL that need to be escaped
curlGlobalInit

Start and stop the Curl library
basicTextGatherer

Cumulate text across callbacks (from an HTTP response)
complete

Complete an asynchronous HTTP request
findHTTPHeaderEncoding

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

Operate on bit fields
basicHeaderGatherer

Functions for processing the response header of a libcurl request
postForm

Submit an HTML form
getURL

Download a URI
getURIAsynchronous

Download multiple URIs concurrently, with inter-leaved downloads
curlOptions

Constructor and accessors for CURLOptions objects
RCurlInternal

Internal functions
merge.list

Method for merging two lists by name
getCurlHandle

Create libcurl handles
fileUpload

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

Perform the HTTP query