Learn R Programming

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

RCurl (version 0.95-1)

HTTP request interface

Description

The package allows 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

152,348

Version

0.95-1

License

BSD

Maintainer

Duncan Lang

Last Published

May 18th, 2009

Functions in RCurl (0.95-1)

RCurlInternal

Internal functions
MultiCURLHandle-class

Class "MultiCURLHandle" for asynchronous, concurrent HTTP requests
base64

Encode/Decode base64 content
curlEscape

Handle characters in URL that need to be escaped
CURLHandle-class

Class "CURLHandle" for synchronous HTTP requests
basicTextGatherer

Cumulate text across callbacks (from an HTTP response)
complete

Complete an asynchronous HTTP request
postForm

Submit an HTML form
findHTTPHeaderEncoding

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

Set values for the CURL options
getCurlInfo

Access information about a CURL request
CurlFeatureBits

Constants for libcurl
curlPerform

Perform the HTTP query
dynCurlReader

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

Information describing the Curl library
getURL

Download a URI
fileUpload

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

Upload content via FTP
getBitIndicators

Operate on bit fields
chunkToLineReader

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

Functions for processing the response header of a libcurl request
getCurlHandle

Create libcurl handles
reset

Generic function for resetting an object
curlOptions

Constructor and accessors for CURLOptions objects
curlGlobalInit

Start and stop the Curl library
binaryBuffer

Create internal C-level data structure for collecting binary data
merge.list

Method for merging two lists by name
getBinaryURL

Download binary content
getURIAsynchronous

Download multiple URIs concurrently, with inter-leaved downloads