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.


This package is a (currently) simple interface to the 
libcurl functionality.  This is an extensive and well
tested library that takes care of so many details that
we would have to mimic (probably incompletely and poorly)
if we were to write this in the R language directly.

You will need to have libcurl installed on your machine.
You can obtain the source and binaries for numerous operating
systems from 
              http://curl.haxx.se

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("RCurl")

1.98-1.20 by Ivan Krylov, a month ago


Report a bug at https://codeberg.org/aitap/RCurl


Browse source code at https://github.com/cran/RCurl


Authors: CRAN Team [ctb] (de facto maintainer in 2013-2026) , Duncan Temple Lang [aut] (ORCID: , Ivan Krylov [cre]


Documentation:   PDF Manual  


BSD_3_clause + file LICENSE license


Imports bitops

Depends on methods

Suggests XML

System requirements: GNU make, libcurl


Imported by BKT, BigDataStatMeth, CNVScope, COVIDIBGE, DescriptiveStats.OBeu, FinCal, GISSB, GNRS, GencoDymo2, GetDFPData2, IRISMustangMetrics, IRISSeismic, ISRaD, LifemapR, MortalityLaws, MultiObjMatch, OpEnHiMR, PNADcIBGE, PNSIBGE, PubMedWordcloud, RAdwords, RBaseX, RCGLS, RCriteo, RMixpanel, ROAuth, ROpenDota, ROpenWeatherMap, RSmartlyIO, RYandexTranslate, RavenR, SIMle, Sie2nts, TPEA, TR8, TrafficBDE, WaterBalanceR, accessrmd, archivist, biomartr, biospear, childfree, chillR, clootl, creditr, dail, dartRverse, dextergui, easyclimate, fbRads, fixr, flatxml, gProfileR, geneset, gmapsdistance, gprofiler2, gptr, grandR, grobblR, h2o, juicr, lgpr, mappoly, metacoder, nomine, packageRank, paleotree, patternplot, pepr, pmetar, pmparser, polyglotr, psidR, pubmed.mineR, qdap, qdapTools, rYoutheria, rcatfish, rechonest, restfulr, rsolr, rts, sched, smarter, smosr, sship, swirl, switchr, trainR, treebase, umx, uptimeRobot, utilsIPEA, vstsr, wcde, wrictools, xSub, xgxr, xplain, zendown.

Depended on by LSPFP, RGoogleFit, RapidoPGS, RblDataLicense, fds, pullword, pumilioR, rLTP, rbiouml, restimizeapi, rneos, ropensecretsapi, streamR, zendeskR.

Suggested by BAwiR, BED, CodeDepends, EFDR, EvaluateCore, HMDHFDplus, One4All, PGRdup, RCPA, RgoogleMaps, SIPDIBGE, TreeTools, XML, berryFunctions, bio3d, boilerpipeR, breakaway, d3Network, exams, genekitr, iNZightTools, idiogramFISH, latex2exp, markdown, metagear, mosaic, rdwd, reproducible, rqti, sparklyr, spatialEco, specmine, toolStability, trajectories.

Enhanced by mapmisc.


See at CRAN