Learn R Programming

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

RCurl (version 1.95-4.3)

General network (HTTP/FTP/...) client interface for R

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

126,751

Version

1.95-4.3

License

BSD

Maintainer

Duncan Lang

Last Published

July 29th, 2014

Functions in RCurl (1.95-4.3)

MultiCURLHandle-class

Class "MultiCURLHandle" for asynchronous, concurrent HTTP requests
curlPerform

Perform the HTTP query
scp

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

Complete an asynchronous HTTP request
getURL

Download a URI
url.exists

Check if URL exists
AUTH_ANY

Constants for identifying Authentication Schemes
getCurlHandle

Create libcurl handles
basicTextGatherer

Cumulate text across callbacks (from an HTTP response)
CURLEnums

Classes and coercion methods for enumerations in libcurl
getURIAsynchronous

Download multiple URIs concurrently, with inter-leaved downloads
ftpUpload

Upload content via FTP
guessMIMEType

Infer the MIME type from a file name
curlSetOpt

Set values for the CURL options
dynCurlReader

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

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

Constants for libcurl
getFormParams

Extract parameters from a form query string
CURLHandle-class

Class "CURLHandle" for synchronous HTTP requests
curlError

Raise a warning or error about a CURL problem
getCurlInfo

Access information about a CURL request
base64

Encode/Decode base64 content
merge.list

Method for merging two lists by name
curlGlobalInit

Start and stop the Curl library
getBitIndicators

Operate on bit fields
mimeTypeExtensions

Mapping from extension to MIME type
curlVersion

Information describing the Curl library
reset

Generic function for resetting an object
clone

Clone/duplicate an object
basicHeaderGatherer

Functions for processing the response header of a libcurl request
binaryBuffer

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

Retrieve names of all curl error classes
RCurlInternal

Internal functions
curlOptions

Constructor and accessors for CURLOptions objects
fileUpload

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

Create a C-level handle for a file
HTTP_VERSION_1_0

Symbolic constants for specifying HTTP and SSL versions in libcurl
httpPUT

Simple high-level functions for HTTP PUT and DELETE
getBinaryURL

Download binary content
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
postForm

Submit an HTML form