Package: RCurl 1.98-1.16

CRAN Team

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

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

Authors:CRAN Team [ctb, cre], Duncan Temple Lang [aut]

RCurl_1.98-1.16.tar.gz
RCurl_1.98-1.16.tar.gz(r-4.5-noble)RCurl_1.98-1.16.tar.gz(r-4.4-noble)
RCurl.pdf |RCurl.html
RCurl/json (API)

# Install 'RCurl' in R:
install.packages('RCurl', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Uses libs:
  • curl– Easy-to-use client-side URL transfer library
Datasets:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

11.45 score 2 stars 1.0k packages 12k scripts 196k downloads 36 mentions 85 exports 1 dependencies

Last updated 4 months agofrom:fbd08089d5. Checks:OK: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 09 2024
R-4.5-linux-x86_64OKNov 09 2024

Exports:.postFormAUTH_ANYAUTH_ANYSAFEAUTH_BASICAUTH_DIGESTAUTH_DIGEST_IEAUTH_GSSNEGOTIATEAUTH_NONEAUTH_NTLMAUTH_NTLM_WBAUTH_ONLYbase64base64Decodebase64EncodebasicHeaderGathererbasicTextGathererbinaryBufferCFILEchunkToLineReadercloneclosecoercecompletecurlErrorcurlEscapeCurlFeatureBitsCurlGlobalBitscurlGlobalInitcurlMultiPerformCurlNetrccurlOptionscurlPercentEncodecurlPerformcurlSetOptcurlUnescapecurlVersiondebugGathererdupCurlHandledynCurlReaderfileUploadfindHTTPHeaderEncodingftpUploadgetBinaryURLgetBitIndicatorsgetCurlErrorClassNamesgetCurlHandlegetCurlInfogetCurlInfoConstantsgetCurlMultiHandlegetCurlOptionsConstantsgetCurlOptionTypesgetFormgetFormParamsgetURIgetURIAsynchronousgetURLgetURLAsynchronousgetURLContentguessMIMETypeHTTP_VERSION_1_0HTTP_VERSION_1_1HTTP_VERSION_LASTHTTP_VERSION_NONEhttpDELETEhttpGEThttpHEADhttpOPTIONShttpPOSThttpPUTlistCurlOptionsmerge.listmultiTextGathererparseHTTPHeaderpoppostFormpushresetscpsetBitIndicatorsSSLVERSION_DEFAULTSSLVERSION_LASTSSLVERSION_SSLv2SSLVERSION_SSLv3SSLVERSION_TLSv1url.exists

Dependencies:bitops

Readme and manuals

Help Manual

Help pageTopics
Constants for identifying Authentication SchemesAUTH_ANY AUTH_ANYSAFE AUTH_BASIC AUTH_DIGEST AUTH_DIGEST_IE AUTH_GSSNEGOTIATE AUTH_NONE AUTH_NTLM AUTH_NTLM_WB AUTH_ONLY
Encode/Decode base64 contentbase64 base64Decode base64Encode
Functions for processing the response header of a libcurl requestbasicHeaderGatherer parseHTTPHeader
Cumulate text across callbacks (from an HTTP response)basicTextGatherer debugGatherer multiTextGatherer
Create internal C-level data structure for collecting binary databinaryBuffer coerce,RCurlBinaryBuffer,raw-method
Create a C-level handle for a fileCFILE CFILE-class close,CFILE-method
Utility that collects data from the HTTP reply into lines and calls user-provided function.chunkToLineReader
Clone/duplicate an objectclone clone,ANY-method clone,CFILE-method clone,CURLHandle-method clone,environment-method
Complete an asynchronous HTTP requestcomplete complete,MultiCURLHandle-method
Classes and coercion methods for enumerations in libcurl&,BitwiseValue,BitwiseValue-method &,BitwiseValue-method c,BitwiseValue-method coerce,BitwiseValue,numeric-method coerce,character,CURLcode-method coerce,character,CURLFORMcode-method coerce,character,curl_closepolicy-method coerce,character,curl_ftpauth-method coerce,character,curl_ftpccc-method coerce,character,curl_ftpcreatedir-method coerce,character,curl_ftpmethod-method coerce,character,curl_infotype-method coerce,character,CURL_NETRC_OPTION-method coerce,character,curl_proxytype-method coerce,character,curl_TimeCond-method coerce,character,curl_usessl-method coerce,integer,CURLcode-method coerce,integer,CURLFORMcode-method coerce,integer,curl_closepolicy-method coerce,integer,curl_ftpauth-method coerce,integer,curl_ftpccc-method coerce,integer,curl_ftpcreatedir-method coerce,integer,curl_ftpmethod-method coerce,integer,curl_infotype-method coerce,integer,CURL_NETRC_OPTION-method coerce,integer,curl_proxytype-method coerce,integer,curl_TimeCond-method coerce,integer,curl_usessl-method coerce,numeric,CURLcode-method coerce,numeric,CURLFORMcode-method coerce,numeric,curl_closepolicy-method coerce,numeric,curl_ftpauth-method coerce,numeric,curl_ftpccc-method coerce,numeric,curl_ftpcreatedir-method coerce,numeric,curl_ftpmethod-method coerce,numeric,curl_infotype-method coerce,numeric,CURL_NETRC_OPTION-method coerce,numeric,curl_proxytype-method coerce,numeric,curl_TimeCond-method coerce,numeric,curl_usessl-method CURLcode-class CURLFORMcode-class curl_closepolicy-class curl_ftpauth-class curl_ftpccc-class curl_ftpcreatedir-class curl_ftpmethod-class curl_infotype-class CURL_NETRC_OPTION-class curl_proxytype-class curl_TimeCond-class curl_usessl-class [,EnumDef,ANY-method [,EnumDef-method |,BitwiseValue,BitwiseValue-method
Raise a warning or error about a CURL problemcurlError
Handle characters in URL that need to be escapedcurlEscape curlPercentEncode curlUnescape
Constants for libcurlCurlFeatureBits CurlGlobalBits CurlNetrc
Start and stop the Curl librarycurlGlobalCleanup curlGlobalInit
Class "CURLHandle" for synchronous HTTP requestsCURLHandle-class
Constructor and accessors for CURLOptions objectscurlOptions getCurlOptionsConstants getCurlOptionTypes listCurlOptions mapCurlOptNames [<-.CURLOptions [[<-.CURLOptions
Perform the HTTP querycurlMultiPerform curlPerform
Set values for the CURL optionscurlSetOpt
Information describing the Curl librarycurlVersion
Dynamically determine content-type of body from HTTP header and set body readerdynCurlReader
Specify information about a file to upload in an HTTP requestfileUpload
Find the encoding of the HTTP response from the HTTP headerfindHTTPHeaderEncoding
Upload content via FTPftpUpload
Download binary contentgetBinaryURL
Operate on bit fieldsgetBitIndicators setBitIndicators
Retrieve names of all curl error classesgetCurlErrorClassNames
Create libcurl handlesdupCurlHandle getCurlHandle getCurlMultiHandle
Access information about a CURL requestgetCurlInfo getCurlInfoConstants
Extract parameters from a form query stringgetFormParams
Download multiple URIs concurrently, with inter-leaved downloadsgetURIAsynchronous getURLAsynchronous
Download a URIgetURI getURL getURLContent
Infer the MIME type from a file nameguessMIMEType
Symbolic constants for specifying HTTP and SSL versions in libcurlHTTP_VERSION_1_0 HTTP_VERSION_1_1 HTTP_VERSION_LAST HTTP_VERSION_NONE SSLVERSION_DEFAULT SSLVERSION_LAST SSLVERSION_SSLv2 SSLVERSION_SSLv3 SSLVERSION_TLSv1
Simple high-level functions for HTTP PUT and DELETEhttpDELETE httpGET httpHEAD httpOPTIONS httpPOST httpPUT
Method for merging two lists by namemerge.list
Mapping from extension to MIME typemimeTypeExtensions
Class "MultiCURLHandle" for asynchronous, concurrent HTTP requestsMultiCURLHandle-class pop pop,MultiCURLHandle,character-method pop,MultiCURLHandle,CURLHandle-method push push,MultiCURLHandle,CURLHandle-method
Submit an HTML form.postForm getForm postForm
Internal functionscoerce,numeric,NetrcEnum-method
Generic function for resetting an objectreset reset,CURLHandle-method
Retrieve contents of a file from a remote host via SCP (Secure Copy)scp
Check if URL existsurl.exists