RCurl v1.95-4.12

0

Monthly downloads

0th

Percentile

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

A wrapper for 'libcurl' <http://curl.haxx.se/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.

Functions in RCurl

Name Description
HTTP_VERSION_1_0 Symbolic constants for specifying HTTP and SSL versions in libcurl
MultiCURLHandle-class Class "MultiCURLHandle" for asynchronous, concurrent HTTP requests
curlError Raise a warning or error about a CURL problem
curlEscape Handle characters in URL that need to be escaped
CURLHandle-class Class "CURLHandle" for synchronous HTTP requests
basicHeaderGatherer Functions for processing the response header of a libcurl request
findHTTPHeaderEncoding Find the encoding of the HTTP response from the HTTP header
AUTH_ANY Constants for identifying Authentication Schemes
CFILE Create a C-level handle for a file
basicTextGatherer Cumulate text across callbacks (from an HTTP response)
clone Clone/duplicate an object
ftpUpload Upload content via FTP
complete Complete an asynchronous HTTP request
getCurlInfo Access information about a CURL request
getFormParams Extract parameters from a form query string
RCurlInternal Internal functions
binaryBuffer Create internal C-level data structure for collecting binary data
chunkToLineReader Utility that collects data from the HTTP reply into lines and calls user-provided function.
curlGlobalInit Start and stop the Curl library
CurlFeatureBits Constants for libcurl
curlOptions Constructor and accessors for CURLOptions objects
getBinaryURL Download binary content
getURIAsynchronous Download multiple URIs concurrently, with inter-leaved downloads
getBitIndicators Operate on bit fields
base64 Encode/Decode base64 content
getURL Download a URI
curlPerform Perform the HTTP query
curlVersion Information describing the Curl library
dynCurlReader Dynamically determine content-type of body from HTTP header and set body reader
merge.list Method for merging two lists by name
curlSetOpt Set values for the CURL options
CURLEnums Classes and coercion methods for enumerations in libcurl
fileUpload Specify information about a file to upload in an HTTP request
mimeTypeExtensions Mapping from extension to MIME type
postForm Submit an HTML form
reset Generic function for resetting an object
scp Retrieve contents of a file from a remote host via SCP (Secure Copy)
guessMIMEType Infer the MIME type from a file name
httpPUT Simple high-level functions for HTTP PUT and DELETE
url.exists Check if URL exists
getCurlErrorClassNames Retrieve names of all curl error classes
getCurlHandle Create libcurl handles
No Results!

Last month downloads

Details

SystemRequirements GNU make, libcurl
License BSD
URL http://www.omegahat.net/RCurl
Additional_repositories http://www.omegahat.net/R/
Limitations One doesn't yet have full control over the contents of a POST form such as specifying files, content type. Error handling uses a single global variable at present.
Note This will be used generally to communicate with HTTP servers and specifically in the SOAP package, HTML forms and for accessing data on Web sites that require more state information than simply URL access (e.g. cookies).
Check To run R CMD check, one really needs network access. It is an HTTP client! This can be problematic as a Web site may be down when you run but the real tests are important.
Collate aclassesEnums.R bitClasses.R xbits.R base64.R binary.S classes.S curl.S curlAuthConstants.R curlEnums.R curlError.R curlInfo.S dynamic.R form.S getFormParams.R getURLContent.R header.R http.R httpError.R httpErrors.R iconv.R info.S mime.R multi.S options.S scp.R support.S upload.R urlExists.R zclone.R zzz.R
NeedsCompilation yes
Packaged 2019-03-03 18:59:27 UTC; ripley
Repository CRAN
Date/Publication 2019-03-04 09:45:33 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/RCurl)](http://www.rdocumentation.org/packages/RCurl)