Seamless R and C++ Integration

The 'Rcpp' package provides R functions as well as C++ classes which offer a seamless integration of R and C++. Many R data types and objects can be mapped back and forth to C++ equivalents which facilitates both writing of new code as well as easier integration of third-party libraries. Documentation about 'Rcpp' is provided by several vignettes included in this package, via the 'Rcpp Gallery' site at <>, the paper by Eddelbuettel and Francois (2011, ), the book by Eddelbuettel (2013, ) and the paper by Eddelbuettel and Balamuta (2018, ); see 'citation("Rcpp")' for details.

Seamless R and C++ Integration

The Rcpp package provides R functions and a (header-only for client packages) C++ library greatly facilitating the integration of R and C++.

All underlying R types and objects, i.e., everything a SEXP represents internally in R, are matched to corresponding C++ objects. This covers anything from vectors, matrices or lists to environments, functions and more. Each SEXP variant is automatically mapped to a dedicated C++ class. For example, numeric vectors are represented as instances of the Rcpp::NumericVector class, environments are represented as instances of Rcpp::Environment, functions are represented as Rcpp::Function, etc ... The Rcpp-introduction vignette (now published as a TAS paper; an earlier introduction was also published as a JSS paper) provides a good entry point to Rcpp as do the Rcpp website, the Rcpp page and the Rcpp Gallery. Full documentation is provided by the Rcpp book.

Other highlights:

  • The conversion from C++ to R and back is driven by the templates Rcpp::wrap and Rcpp::as which are highly flexible and extensible, as documented in the Rcpp-extending vignette.

  • Rcpp also provides Rcpp modules, a framework that allows exposing C++ functions and classes to the R level. The Rcpp-modules vignette details the current set of features of Rcpp-modules.

  • Rcpp includes a concept called Rcpp sugar that brings many R functions into C++. Sugar takes advantage of lazy evaluation and expression templates to achieve great performance while exposing a syntax that is much nicer to use than the equivalent low-level loop code. The Rcpp-sugar gives an overview of the feature.

  • Rcpp attributes provide a high-level syntax for declaring C++ functions as callable from R and automatically generating the code required to invoke them. Attributes are intended to facilitate both interactive use of C++ within R sessions as well as to support R package development. Attributes are built on top of Rcpp modules and their implementation is based on previous work in the inline package. See the Rcpp-atttributes vignettes for more details.


The package ships with nine pdf vignettes, including a recent introduction to Rcpp now published as a paper in TAS (and as a preprint in PeerJ). Also available is an earlier introduction which was published as a JSS paper)

Among the other vignettes are the Rcpp FAQ and the introduction to Rcpp Attributes. Additional documentation is available via the Rcpp book by Eddelbuettel (2013, Springer); see 'citation("Rcpp")' for details.


The Rcpp Gallery showcases over one hundred fully documented and working examples. The package RcppExamples contains a few basic examples covering the core data types.

A number of examples are included as are 1437 unit tests in 622 unit test functions provide additional usage examples.

An earlier version of Rcpp, containing what we now call the 'classic Rcpp API' was written during 2005 and 2006 by Dominick Samperi. This code has been factored out of Rcpp into the package RcppClassic, and it is still available for code relying on the older interface. New development should always use this Rcpp package instead.

Other usage examples are provided by packages using Rcpp. As of November 2018, there are 1490 CRAN packages using Rcpp, a further 150 BioConductor packages in its current release as well as an unknown number of GitHub, Bitbucket, R-Forge, ... repositories using Rcpp. All these packages provide usage examples for Rcpp.


Released and tested versions of Rcpp are available via the CRAN network, and can be installed from within R via


To install from source, ensure you have a complete package development environment for R as discussed in the relevant documentation; also see questions 1.2 and 1.3 in the Rcpp-FAQ.


The best place for questions is the Rcpp-devel mailing list hosted at R-forge. Note that in order to keep spam down, you must be a subscriber in order to post. One can also consult the list archives to see if your question has been asked before.

Another option is to use StackOverflow and its 'rcpp' tag. Search functionality (use rcpp in squared brackets as in [rcpp] my question terms to tag the query) is very valuable as many questions have indeed been asked, and answered, before.

The issue tickets at the GitHub repo are the primary bug reporting interface. As with the other web resources, previous issues can be searched as well.


Dirk Eddelbuettel, Romain Francois, JJ Allaire, Kevin Ushey, Qiang Kou, Nathan Russell, Doug Bates, and John Chambers


GPL (>= 2)


Reference manual

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


1.0.7 by Dirk Eddelbuettel, 4 months ago,,

Report a bug at

Browse source code at

Authors: Dirk Eddelbuettel , Romain Francois , JJ Allaire , Kevin Ushey , Qiang Kou , Nathan Russell , Inaki Ucar , Douglas Bates and John Chambers

Documentation:   PDF Manual  

Task views: High-Performance and Parallel Computing with R, Numerical Mathematics

GPL (>= 2) license

Imports methods, utils

Suggests tinytest, inline, rbenchmark, pkgKitten

Imported by ABCoptim, ACEt, ADMM, ADMMnet, AGread, ALassoSurvIC, ANN2, APAtree, APML0, ARCokrig, ATAforecasting, AdaptGauss, AdaptiveSparsity, AhoCorasickTrie, AlphaPart, AlphaSimR, AntMAN, AovBay, BAMBI, BAMMtools, BART, BCEE, BCSub, BCT, BClustLonG, BET, BGGM, BGVAR, BHSBVAR, BIFIEsurvey, BINtools, BLPestimatoR, BLSM, BMTME, BNPMIXcluster, BNPmix, BNSL, BOSSreg, BSL, BSSprep, BTLLasso, BTM, BTYDplus, BVSNLP, BWStest, BacArena, BalancedSampling, BayesComm, BayesESS, BayesFactor, BayesLN, BayesMFSurv, BayesMRA, BayesMallows, BayesPPD, BayesProject, BayesRGMM, BayesReversePLLH, BayesSPsurv, BayesSUR, BayesSenMC, BayesianTools, Bayesrel, BeSS, Benchmarking, Bestie, BeviMed, BiDAG, BiProbitPartial, BigQuic, BigVAR, BinSegBstrap, BinaryDosage, Bioi, BoltzMM, BondValuation, BoostMLR, BosonSampling, Buddle, CARlasso, CASMAP, CB2, CDM, CDSeq, CDatanet, CENFA, CFC, CGGP, CKLRT, CKMRpop, CLVTools, CMF, CNVRG, CNull, CPAT, CPGLIB, CSTE, CVR, CVXR, CamelUp, CatReg, CausalGPS, CautiousLearning, CensSpatial, ChangePointTaylor, ChannelAttribution, CircSpaceTime, CircularDDM, Ckmeans.1d.dp, ClinicalTrialSummary, ClusPred, ClusVis, ClustAssess, ClustVarLV, ClusterR, CoMiRe, CoOL, Compack, ConsReg, Countr, CovTools, Crossover, Cyclops, DCEM, DCLEAR, DCSmooth, DDD, DDRTree, DGM, DLMtool, DMCfun, DNAtools, DOVE, DPWeibull, DSWE, DStree, DTDA.cif, DatAssim, DataGraph, DataVisualizations, DataViz, DatabionicSwarm, DeCAFS, DescTools, DiffNet, DiffusionRgqd, DiffusionRimp, DiffusionRjgqd, Dire, DiscreteFDR, DrImpute, DriftBurstHypothesis, DstarM, DtD, DynComm, DysPIA, EAinference, EBMAforecast, ECctmc, EFAtools, EMMIXgene, EMVS, EMbC, ETAS, EWGoF, EigenR, EloChoice, EloRating, EmpiricalCalibration, EpiNow2, EstHer, EstMix, ExactMultinom, ExhaustiveSearch, FBFsearch, FDRSeg, FDRreg, FDX, FENmlm, FIT, FLSSS, FMCCSD, FORTLS, FRK, FSInteract, FSSF, FSelectorRcpp, FamilyRank, FarmSelect, FarmTest, FastBandChol, FastGP, FastGaSP, FastSF, FaultTree, FeatureHashing, FiRE, FisPro, FlexReg, FlyingR, ForestTools, FunChisq, GA, GADAG, GAS, GBJ, GCPBayes, GCPM, GCSM, GDINA, GEEaSPU, GGClassification, GGIR, GGMncv, GLMaSPU, GLMcat, GMCM, GMKMcharlie, GMMAT, GPBayes, GPCMlasso, GPFDA, GPM, GPareto, GPvam, GPvecchia, GUILDS, GUniFrac, GauPro, GenEst, GeneralizedUmatrix, GenomeAdmixR, GenomicMating, GeoFIS, GiRaF, GillespieSSA2, GiniDistance, Gmedian, GofKmt, GpGp, GreedyEPL, GreedyExperimentalDesign, GridOnClusters, GrpString, GxEScanR, GxM, HACSim, HARModel, HBV.IANIGLA, HDLSSkST, HDSpatialScan, HDTSA, HDclust, HHG, HLMdiag, HMB, HMMEsolver, HMMmlselect, HRM, HSAR, HTLR, HardyWeinberg, HistDAWass, HypergeoMat, IBMPopSim, ICAOD, ICRanks, ICSKAT, ICcalib, ICtest, ICvectorfields, IDSL.IPA, IFC, IHSEP, IMAGE, IOHexperimenter, ISOpureR, Immigrate, ImpactEffectsize, IncDTW, IntegratedMRF, IntervalSurgeon, IrishDirectorates, IsoSpecR, JMI, JMbayes, JMbayes2, JMcmprsk, JOUSBoost, JSM, JacobiEigen, JuliaCall, JumpTest, KODAMA, KONPsurv, KSgeneral, KernSmoothIRT, KernelKnn, KeyboardSimulator, KoulMde, L0Learn, L1mstate, LAM, LANDD, LARisk, LBSPR, LDheatmap, LMMELSM, LOPART, LaF, LambertW, Langevin, LassoBacktracking, LassoGEE, LassoNet, LeMaRns, LinearDetect, Lmoments, LocalControl, LongMemoryTS, LowWAFOMNX, LowWAFOMSobol, MABOUST, MADPop, MAGEE, MAPITR, MAT, MAVE, MCMCprecision, MCPModPack, MEGENA, MESS, MGDrivE, MGMM, MHMM, MIDASwrappeR, MIRES, MLModelSelection, MM4LMM, MMVBVS, MNARclust, MPBoost, MPTinR, MRS, MSEtool, MSGARCH, MTLR, MTS, MachineShop, MatchIt, MatrixCorrelation, MatrixExtra, MatrixLDA, MazamaRollUtils, MediaK, MetaheuristicFPA, MiSPU, MixMatrix, ModelMetrics, MomTrunc, Morpho, MrSGUIDE, MuChPoint, MultOrdRS, MultSurvTests, MultiBD, MultiFit, MultivariateRandomForest, N2R, NAM, NCutYX, NHMM, NLMR, NPMLEmix, NestedCategBayesImpute, NetMix, NetRep, NetworkDistance, NetworkInference, Numero, OTclust, OncoBayes2, OpenImageR, OpenMx, Opt5PL, OptCirClust, Orcs, OwenQ, PAC, PAFit, PAMA, PAutilities, PCMRS, PHSMM, PINSPlus, PLFD, PLMIX, PLNmodels, PO.EN, POMaSPU, POSetR, PP, PPMR, PPRL, PPforest, PQLseq, PRDA, PRIMME, PReMiuM, PUlasso, PWD, PandemicLP, PanelCount, PanelMatch, PenCoxFrail, Peptides, Phase123, Phase12Compare, PheVis, PhenotypeSimulator, PhylogeneticEM, PieceExpIntensity, Pijavski, PoDBAY, PoissonBinomial, PolynomF, PoolTestR, PosteriorBootstrap, ProbReco, ProbitSpatial, ProcData, ProjectionBasedClustering, QF, QRM, QTL.gCIMapping, QTL.gCIMapping.GUI, Qtools, QuantTools, RAINBOWR, RBesT, RCSF, RClickhouse, RDP, REddyProc, REndo, RI2by2, RInside, RJafroc, RJcluster, RKHSMetaMod, RLRsim, RLumCarlo, RLumModel, RMPSH, RMSNumpress, RMariaDB, RMixtCompIO, RNOmni, RNewsflow, RNifti, RNiftyReg, ROI.plugin.qpoases, ROptSpace, RPEGLMEN, RPostgres, RPresto, RProtoBuf, RPtests, RQuantLib, RRI, RSQLite, RSSL, RScelestial, RSpectra, RStoolbox, RTCC, RTransferEntropy, RVCompare, RVowpalWabbit, RWDataPlyr, RZigZag, RaceID, Radviz, Rankcluster, RavenR, Rblpapi, Rborist, Rcatch22, RcppAPT, RcppAlgos, RcppAnnoy, RcppArmadillo, RcppBDT, RcppBigIntAlgos, RcppCCTZ, RcppCNPy, RcppCWB, RcppCensSpatial, RcppClassic, RcppClassicExamples, RcppDE, RcppDL, RcppDist, RcppDynProg, RcppEigen, RcppEigenAD, RcppEnsmallen, RcppExamples, RcppFaddeeva, RcppFarmHash, RcppFastFloat, RcppGSL, RcppGetconf, RcppGreedySetCover, RcppHMM, RcppHNSW, RcppHungarian, RcppML, RcppMLPACK, RcppMeCab, RcppMsgPack, RcppNLoptExample, RcppNumerical, RcppQuantuccia, RcppRedis, RcppRoll, RcppSMC, RcppSimdJson, RcppSpdlog, RcppStreams, RcppTN, RcppTOML, RcppUUID, RcppXPtrUtils, RcppXsimd, RcppZiggurat, Rdca, Rdimtools, Rdtq, ReIns, RealVAMS, RecAssoRules, Recocrop, ReorderCluster, RespirAnalyzer, RestRserve, Rforestry, Rfssa, RiemBase, Riemann, Rip46, Rirt, Rlabkey, Rlibeemd, Rlinsolve, RmecabKo, Rnmr1D, RobGARCHBoot, RobKF, RobustCalibration, RobustGaSP, Ropj, Rphylopars, RprobitB, Rpvt, Rquefts, RstoxData, Rtsne, Rvcg, Rvoterdistance, Rwofost, RxODE, Ryacas, Ryacas0, SAGMM, SAM, SAMGEP, SAMM, SAR, SBSA, SBmedian, SC.MEB, SCCI, SCORNET, SDMtune, SEERaBomb, SELF, SFS, SHT, SITH, SLOPE, SMITIDvisu, SMMA, SMME, SMUT, SNPknock, SPARSEMODr, SPSP, SPlit, SSDL, SSOSVM, STARTS, STARTdesign, SUNGEO, SVMMatch, Scalelink, SelvarMix, SeqKat, SeqNet, SequenceSpikeSlab, Seurat, SeuratObject, ShrinkCovMat, Signac, SimBIID, SimJoint, SimReg, SimSurvNMarker, SimilaR, SkeweDF, SmartSVA, SobolSequence, SocialNetworks, SpaCCr,, SpaTimeClus, SparseFactorAnalysis, SparseLPM, SpatialBSS, SpatialEpi, SpatialKDE, SpatialKWD, SpatialTools, Spbsampling, SpecsVerification, SplitGLM, SplitReg, Sshaped, StMoSim, StanMoMo, StempCens, StepReg, StepSignalMargiLike, StepwiseTest, StereoMorph, StratifiedSampling, SubTite, SuperGauss, SuperRanker, SuperpixelImageSegmentation, SurrogateRegression, T4cluster, T4transport, TAG, TAM, TDA, TDAkit, TDAstats, TESS, TFMPvalue, TSDFGS, TSrepr, TauStar, TensorClustering, TestCor, TestDesign, TexExamRandomizer, TiPS, TransPhylo, TreeBUGS, TreeSearch, TriDimRegression, TruncatedNormal, TukeyRegion, UPCM, UPG, Umatrix, UniIsoRegression, UtilityFrailtyPH12, V8, VARDetect, VARtests, VIC5, VIM, VNM, VUROCS, VarSelLCM, VeryLargeIntegers, WGCNA, WRI, WSGeometry, WaveSampling, WebGestaltR, WeibullR, WinRatio, XBRL, YPBP, YPInterimTesting, YPPE, ZIPBayes, ZVCV, aRtsy, abcADM, abcrf, abess, abtest, acc, accelerometry, acebayes, acrt, activegp, adheRenceRX, adjclust, admix, adpss, agtboost, ahMLE, alakazam, alpaca, alphabetr, ambient, ampir, amt, anMC, anomaly, anytime, apcf, apcluster, ape, aphid, apollo, aricode, armspp, arrApply, ashr, atakrig, augSIMEX, autoFRK, autocart, autothresholdr, avar, bWGR, baggingbwsel, bama, bartBMA, basad, baskexact, batman, bayesAB, bayesDP, bayesGAM, bayesImageS, bayesPO, bayesZIB, bayesbr, bayescopulareg, bayesdfa, bayesforecast, bayesm, bayesmove, bbdetection, bbl, bcROCsurface, bcp, bea.R, beam, belg, bellreg, benchr, bestridge, betaBayes, beyondWhittle, bfast, bfp, bggum, bgsmtr, biClassify, bife, bigMap, bigSurvSGD, biglasso, bigmemory, bigreadr, bigrquery, bigsnpr, bigsparser, bigstatsr, bigtime, bigutilsr, binGroup2, binaryGP, bindrcpp, binnednp, binsegRcpp, bio3d, bioacoustics, bisque, bistablehistory, biwavelet, blackbox, blaster, blatent, blindrecalc, bliss, blockForest, blockmodels, blorr, bmabasket, bmggum, bmotif, bmrm, bnclassify, bnnSurvival, bootUR, borrowr, bpcs, bpgmm, bpnreg, bpr, braggR, bravo, breakfast, briskaR, brlrmr, bsearchtools, bsem, bsplinePsd, bssm, btb, bvarsv, bvartools, bzinb, cIRT, cPCG, calculus, carSurv, carat, cartography, catSurv, catlearn, catsim, cattonum, causaloptim, cbinom, cblasr, cbq, ccaPP, cccp, ccdrAlgorithm, ccrtm, cctools, cdcsis, ced, cellWise, cenROC, cgAUC, cglm,, changepointsHD, chickn, chillR, chopthin, chunkR, circglmbayes, circumplex, ciu, cladoRcpp, classifierplots, cld2, cld3, clere, clevr, clhs, clifford, climdex.pcic, clogitboost, clusrank, clustermq, cmenet, cna, cnaOpt, cnum, coda.base, coga, collapse, colorednoise, colourvalues, comat, combiter, communication, comparator, compas, comperank, coneproj, conleyreg, conquer, conquestr, contoureR, cord, corels, corpustools, corrcoverage, cort, covTestR, covafillr, covglasso, covsim, coxrt, cppRouting, cpr, cpss, crandep, crawl, crctStepdown, crfsuite, ctgt, ctmcd, cubature, cuml4r, curstatCI, cusum, cutpointr, cycleRtools, dHSIC, dann, datafsm, datasailr, dbnR, dbscan, dccmidas, dcov, dcurver, ddalpha, decido, deepboost, demu, densEstBayes, densityClust, depcoeff, detectRUNS, detrendr, dexter, dexterMST, dfphase1, dga, dgumbel, diagis, dialectR, diceR, did2s, didimputation, diffmatchpatch, diffusr, dina, dipsaus, disclapmix, discretecdAlgorithm, discretefit, diseq, disk.frame, dismo, distr6, divDyn, diveRsity, diversitree, diversityForest, divest, dlib, dng, doc2vec, dodgr, dosearch, downscaledl, dpcc, dpseg, dqrng, dracor, drf, drgee, dscore, dsmisc, dtwclust, durmod, dvmisc, dynamichazard, dynmix, dynsbm, dynutils, eBsc, eDMA, eNchange, earthtide, easyVerification, ebmstate, econetwork, eddington, edgebundle, edina, eimpute, einsum, eive, elfDistr, elmNNRcpp, empichar, emstreeR, energy, epidemia, epinetr, epiphy, equateMultiple, ergmclust, ergmito, errum, eseis, esreg, ess, essHist, estimatr, estudy2, etm, eulerr, evgam, exactextractr, exceedProb, exdex, exif, expSBM, expectreg, expose, expperm, extraDistr, exuber, fDMA, fHMM, fICA, fMRIscrub, fRLR, fabMix, fable, facilitation, factorstochvol, fad, fastAdaboost, fastJT, fastLink, fastM, fastText, fastTextR, fastcmh, fasterElasticNet, fasteraster, fasterize, fastglm, fastkmedoids, fastlogranktest, fastmit, fastpos, fastqq, fastshap, fbroc, fcaR, fcci, fclust, fctbases, fdaMixed, fdadensity, fdapace, fdasrvf, fddm, feather, fedmatch, filearray, filling, fingerPro, finity, fipp, fishflux, fixest, flam, flamingos, flan, flars, flexpolyline, flexsurv, flintyR, flipr, flock, flying, fmerPack, fmf, fmtr, foreSIGHT, forecast, forecastSNSTS, forestControl, fourPNO, fourierin, fpeek, fplot, fractional, fracture, frailtyEM, freealg, fromo, fssemR, fst, fstcore, fuser, futureheatwaves, fwildclusterboot, fwsim, gRain, gRbase, gRc, gRim, ganGenerativeData, gapfill, gaselect, gasper, gastempt, gbeta, gbp, gcKrig, gdalcubes, gdm, gdpc, gdtools, gear, geiger, gen3sis, genepop, genie, genieclust, genio, genodds, geoFKF, geoFourierFDA, geocmeans, geodiv, geogrid, geojsonR, geojsonsf, geometries, geometry, gesso, gfiExtremes, gfilmm, gfilogisreg, gfpop, ggdmc, ggforce, gghilbertstrings, ggip, ggiraph, ggraph, ggrepel, ggwordcloud, gif, gigg, gitear, gjam, gkmSVM, glamlasso, glca, glcm, glm.deploy, glmdisc, glmmsr, glow, goldi, googlePolylines, gplite, grainscape, graphicalVAR, graphkernels, graphlayouts, graphql, grattan, greed, greeks, gren, gretel, grf, gridtext, groupedSurv, grove, grpCox, grpSLOPE, grpsel, gsEasy, gsignal, gsisdecoder, gsynth, gtfs2gps, gtfsrouter, gwfa, gwpcormapper, gwsem, hadron, handwriter, hans, hawkes, hdbinseg, hdbm, hdme, heatwaveR, hergm, hermiter, hesim, hetGP, heuristicsmineR, hhsmm, hierarchicalSets, highfrequency, higlasso, hilbertSimilarity, hipread, hit, hmgm, hmlasso, hommel, hopit, hpa, hrqglas, hrt, hsphase, hsrecombi, hsstan, htdp, htmltidy, httpuv, huge, humaniformat, humanleague, hunspell, hydrotoolbox, hyper2, iBATCGH, iBST, iCellR, iDOVE, iGraphMatch, iRF, ibdsim2, ibm, ibmcraftr, ibs, icRSF, iccbeta, icensmis, icosa, icr, idefix, ideq, igcop, iilasso, image.CannyEdges, image.ContourDetector, image.CornerDetectionF9, image.CornerDetectionHarris, image.LineSegmentDetector, image.Otsu, image.binarization, image.dlib, image.libfacedetection, image.textlinedetector, imager, imagerExtra, imagine, imbalance, imbibe, immer, immunarch, imp4p, impactflu, impactr, imptree, imputeMulti, imputeTS, inca, incgraph, indelmiss, independence, individual, inferr, infinitefactor, inplace, inspectdf, intcensROC, interep, interflex, interleave, interp, intervalaverage, intkrige, intsurv, ipaddress, ipft, ipmr, iprior, iptools, irt, isodistrreg, isotracer, isotree, isqg, ivdoctr, ivsacim, ivtools, ivx, jSDM, jaccard, jackalope, jiebaR, jmcm, jmvconnect, joinXL, joineRML, jsonStrings, jsonify, jti, junctions, kamila, kcpRS, kde1d, kdecopula, kdevine, kdtools, kernelPSI, kernelboot, keyATM, kgrams, klsh, kmcudaR, kmer, knn.covertree, kohonen, krige, ksNN, kvh, l0ara, l1spectral, lamW, landscapeR, landscapemetrics, landscapetools, landsepi, latentgraph, later, lavaSearch2, lavacreg, lazyarray, lbfgs, lbfgsb3c, lclGWAS, lcopula, ldsep, ldsr, lefko3, legion, leidenAlg, leontief, lexRankr, lfl, lfmm, lgpr, lhs, libr, libstableR, lidR, lifecontingencies, liger, lime, linconGaussR, linearQ, lineup2, lingmatch, lobstr, locStra, localScore, lodr, logKDE, lowmemtkmeans, lowpassFilter, lpirfs, lpme, lsbclust, lslx, ltsspca, lutz, lvec, lvmcomp, lwgeom, m2r, mDAG, magick, malan, maotai, mapdeck, mapi, mappoly, mapsf, marked, markerpen, markophylo, markovchain, mashr, mastif, match2C, matchingMarkets, matricks, matrixdist, matrixprofiler, maxnodf, mcemGLM, mcga, mcglm, mclustAddons, mclustcomp, mcmcsae, mcmcse, mdendro, mdgc, mdmb, meaRtools, medfate, melt, meltt, mergeTrees, meshed, metacart, metacoder, metadynminer, metadynminer3d, metafolio, metapack, meteoland, meteor, meteorits, mets, mev, mfGARCH, mfbvar, mgss, mhazard, miRNAss, mice, miceFast, miceadds, microclass, microclustr, microseq, miic, milorGWAS, milr, minerva, minimaxdesign, minqa, mirt, mirtCAT, mirtjml, miscset, missDeaths, missSBM, mistral, mixR, mixdir, mixedCCA, mixedClust, mixedMem, mixl, mixsqp, mixture, mizer, mkde, mlmc, mlpack, mlr3proba, mlsbm, mmand, mmapcharr, mmsample, mnis, mniw, mobsim, modeLLtest, modesto, mokken, molic, mombf, momentuHMM, mosum, motif, motmot, mousetrap, move, moveHMM, moveWindSpeed, mp, mpcmp, mrMLM, mrMLM.GUI, mrbayes, mrbsizeR, mrf2d, mrgsolve, msce, msde, mssm, mudens, multbxxc, multdyn, multgee, multiblock, multibridge, multinets, multinma, multinomineq, multivar, multivariance, mumm, mvabund, mvnfast, mvp, mvrsquared, mwaved, myTAI, n1qn1, nVennR, nabor, nametagger, nandb, natcpp, ncpen, ndjson, ndl, neatRanges, netClust, netchain, netcontrol, netdiffuseR, netgsa, netrankr, networkR, neuroim, nevada, nflreadr, niaidMI, nlmixr, nlmm, nmixgof, nmslibR, nnlib2Rcpp, nomclust, noncompliance, nonlinearTseries,, nprobust, nse, o2geosocial, obliqueRSF, oce, odbc, odeintr, odpc, oem, offlineChange, ohenery, olctools, olsrr, ompr, ondisc, oneclust, onemap, onlinePCA, onlineforecast, ontologySimilarity, openCR, openair, opencv, opentimsr, openxlsx, optiSel, optiSolve, optmatch, opusminer, ordinalClust, ordinalForest, orf, orthoDr, osmdata, osmgeosample, osqp, outbreaker2, outliertree, pGPx, pROC, packcircles, pacotest, padr, pagoda2, pander, parallelDist, parglm, paropt, parsermd, partialAR, partialCI, particles, partition, parzer, patentr, patternplot, pbv, pcIRT, pcadapt, pcalg, pccc, pcoxtime, pdSpecEst, pda, pdftools, pecora, pems.utils, penMSM, penPHcure, penalized, penppml, pense, peppm, perccal, perfectphyloR, permuco, personalized2part, pgdraw, pgee.mixed, ph2bayes, ph2bye, ph2rand, phangorn, phenofit, philentropy, phonics, phylobase, phylosignal, phyr, physiology, pimeta, pinbasic, pirate, piton, plac, planar, pleiotest, plotSEMM, plyr, poisDoubleSamp, poisbinom, policytree, polyRAD, polyfreqs, polylabelr, polyqtlR, polysat, polywog, poolfstat, popkin, porridge, ppgmmga, prclust, precrec, predkmeans, predtools, prider, primes, princurve, processmapR, prodlim, profoc, projpred, promises, propr, prospectr, protViz, protolite, prototest, proxyC, pryr, psd, pseudorank, psgp, psqn, psychrolib, ptf, pts2polys, ptsuite, puniform, purgeR, purrrlyr, pvar, qGaussian, qad, qgraph, qmix, qpdf, qpmadr, qrencoder, qs, qtl2, qtl2convert, qtl2ggplot, qtl2pleio, quadtree, qualpalr, quanteda, quanteda.textmodels, quanteda.textplots, quanteda.textstats, quantities, quantregRanger, quantspec, queuecomputer, qwraps2, r2sundials, rCRM, rDotNet, rDppDiversity, rEDM, rENA, rIsing, rMVP, rPref, rTRNG, raceland, rags2ridges, rainette, ramcmc, randomUniformForest, rangeBuilder, ranger, rankUncertainty, rankdist, ranlip, rare, raster, ratematrix, rater, rayimage, rayrender, rayshader, rayvertex, rbacon, rbart, rbioacc, rbiom, rbridge, rbscCI, rcbayes, rcosmo, rcrimeanalysis, rdist, re2, reReg, read.gt3x, readobj, readsdmx, readsparse, readstata13, readthat, readxl, readxlsb, recexcavAAR, reclin, recom, recometrics, reconstructr, recosystem, recurse, reda, redist, refinr, registr, regmed, regnet, relliptical, rem, repfdr, repolr, resemble, reshape2, rethnicity, reticulate, revdbayes, rexpokit, rflexscan, rforensicbatwing, rgeoda, rgeolocate, rhoR, rim, ripserr, riskParityPortfolio, riskRegression, rivr, rjpdmp, rkeops, rkvo, rlas, rlfsm, rliger, rlme, rmBayes, rmarchingcubes, rmgarch, rmi, rminizinc, rmsb, rmumps, rncl, robCompositions, robFitConGraph, roben, robets, robmixglm, robregcc, robsel, robslopes, robustBLME, robustHD, robustcov, robustlmm, robustreg, rocTree, rococo, roll, rollRegres, rootWishart, roptim, rotations, rpact, rpf, rplum, rpms, rpql, rrcovHD, rrecsys, rres, rrpack, rrr, rrum, rsparse, rstan, rstantools, rstpm2, rsvddpd, rtdists, rtext, rtk, rtrend, rtweet, rubias, rucrdtw, rugarch, ruimtehol, runner, rust, rvg, rvinecopulib, rwfec, rxylib, s2, s2net, sBIC, saeRobust, samurais, sanic, santoku, sarima, sasfunclust, satellite, saturnin, sbfc, sbm, sbmSDP, sbo, sboost, scDHA, scINSIGHT, scModels, scPOP, sccore, scoper, scorepeak, scoringRules, scrypt, sdcHierarchies, sdcMicro, sdpdth, seagull, secr, secure, segMGarch, segclust2d, segmag, segmenTier, segmentr, seismicRoll, selectiveInference, semver, sensitivity, sensobol, sentencepiece, sentometrics, seqHMM, seqR, seqest, serrsBayes, set6, sf, sfcr, sfheaders, sgd, sglg, shapr, shar, sharpeRratio, shrinkDSM, shrinkTVP, sigminer, signnet, simPop, simcdm, simcross, simfam, simmer, simplextree, simstudy, simts, sirt, sirus, sitmo, skm, skpr, slasso, slfm, slopeOP, smam, smartsnp, smerc, smmR, smog, smoof, smooth, smoots, smurf, snowboot, snplist, snpsettest, socceR, social, sommer, sorcering, sourceR, spBFA, spBayesSurv, spCP, spGARCH, spaMM, spacefillr, spamtree, sparkwarc, sparseHessianFD, sparseLTSEigen, sparseinv, sparsereg, sparsevb, sparsio, sparta, spass, spatgraphs, spatialrisk, spatialwarnings, spatialwidget, spduration, specklestar, specs, spectralGraphTopology, spectre, spiderbar, spinBayes, splines2, splithalf, splmm, spnn, sport, spray, springer, sprintr, spsurv, sqp, srm, ssdtools, staggered, stanette, starma, statespacer, statgenGWAS, statgenIBD, stdvectors, stepR, steps, stfit, stlplus, stm, stochvol, stocks, stosim, strat, stratEst, strawr, stream, strider, stringfish, striprtf, strucchangeRcpp, sundialr, superml, support, surbayes, sureLDA, survPen, surveillance, surveybootstrap, surveysd, survidm, survivalmodels, svars, svgViewR, swephR, swmmr, symengine, symmetry, symphony, synchronicity, synthACS, systemicrisk, targeted, teachingApps, telemac, tensorBSS, tergmLite, terra, terrainmeshr, tesseract, testforDEP, texmex, text.alignment, text2vec, textTinyR, textmineR, textrecipes, textreg, textreuse, tfCox, tfarima, tibbletime, tidyfast, tidygenomics, tidygraph, tidylda, tidysq, tidyxl, tiledb, timechange, timma, tlrmvnmvt, tm, tmbstan, tmt, tokenbrowser, tokenizers, tokenizers.bpe, torch, torchaudio, touch, tracerer, trackdem, transformr, transmdl, transport, tree.interpreter, treeducken, treenomial, treeplyr, treespace, triebeard, trustOptim, tsBSS, tsfgrnn, tsfknn, tsmp, ttbary, tvR, tvd, twangContinuous, tweenr, twosamples, uFTIR, ubms, udpipe, ugomquantreg, ulid, umap, understandBPMN, ungroup, unine, units, unmarked, unsystation, updog, urltools, uwot, valr, valuer, vapour, varband, varbvs, vasicekreg, vcfR, vcpen, vectorwavelet, vennLasso, vennplot, vinereg, viscomplexr, vita, vlad, vmd, vsgoftest, wCorr, warbleR, waspr, wbsd, wbsts, wdm, webreadr, weibulltools, wellknown, whoa, wkutils, womblR, word2vec, wordcloud, wordspace, wowa, wrswoR, wv, xdcclarge, xplorerr, xrnet, xslt, xtensor, xutils, xyz, yakmoR, yaps, yuima, zcurve, zic, ziphsmm, ztpln.

Depended on by ADMMsigma, ASPBay, Amelia, AnaCoDa, BaBooN, Barycenter, BayesianFROC, Biocomb, BuyseTest, CARBayes, CARBayesST, COMPoissonReg, CausalQueries, ClustMMDD, ClusterStability, ConConPiWiFun, CoxPlus, DCPO, DPP, DeLorean, DepthProc, FKSUM, FRESA.CAD, GENLIB, GSE, GUTS, GWmodel, GeDS, GenomicTools, Gmisc, HUM, IsingSampler, KernelICA, Keyboard, MAINT.Data, MVB, ManifoldOptim, MetaStan, NPBayesImputeCat, NPflow, NlinTS, PCMBaseCpp, POUMM, PPtreeViz, PedCNV, PerMallows, PoweR, ProFound, RGeode, RSNNS, Ravages, RcppXts, Rfast, Rfast2, Rlda, Rlgt, Rmalschains, Rmixmod, RmixmodCombi, RoughSets, SCPME, SILGGM, SeqDetect, TLMoments, UComp, baggr, bayes4psy, bcf, bcpa, beanz, bigReg, blavaan, bmgarch, bmlm, breathteststan, brms, castor, clogitL1, collUtils, conStruct, copCAR, cqrReg, cstab, ctsem, curveDepth, cytometree, datastructures, dbmss, dcortools, dfpk, dils, dslice, ecotraj, ecp, eggCounts, emIRT, erah, fable.prophet, fastGHQuad, ffstream, fugeR, gMWT, gaston, glmmfields, goffda, gppm, growfunctions, hBayesDM, hal9001, harmony, hawkesbow, hkevp, hypervolume, icenReg, idem, jmotif, kergp, lazygreedy, ldat, llbayesireg,, lolog, ludic, matchingR, mbbefd, metaBMA, mgwrsar, microsamplingDesign, microsimulation, mixlink, mrregression, multicool, multinet, mvcluster, ngspatial, nodeSub, optimization, orQA, palm, pcFactorStan, pgsc, promotionImpact, propagate, prophet, psrwe, publipha, quadrupen, rBMF, rLFT, rasterly, recmap, regsem, remote, revealedPrefs, rmdcev, robustgam, rotasym, rpart.LAD, rstanarm, rstanemax, rtkore, sdcTable, sdetorus, sequences, simFrame, spatialfusion, sphunif, spp, spreadr, ssMousetrack, stcos, steadyICA, stpm, survHE, survSNP, synlik, tabularMLC, tagcloud, tbart, themetagenomics, thurstonianIRT, treeclim, trialr, visit, volesti, walker, wingui, wsrf.

Suggested by BivRec, CodeDepends, IOHanalyzer, PopED, PracTools, Quartet, R.SamBada, Rcereal, RcppDate, RcppParallel, RcppThread, StanHeaders, TreeDist, TreeTools, bridgesampling, coveffectsplot, cpp11, crmPack, cxxfunplus, dartR, drake, frechet, hyperSpec, iemisc, inline, mlxR, pkgbuild, pkgload, plogr, progress, rsyncrosim, sparsepp, tidyCpp, wrMisc.

Linked to by DetMCD, DetR, Eagle, FastHCS, FastPCS, FastRCS, FisHiCal, HDPenReg, Luminescence, MixAll, OjaNP, PAsso, PRIMAL, QFASA, RUVIIIC, SSLR, TAQMNGR, TBRDist, abn, autostsm, bigalgebra, biganalytics, bigtabulate, blockcluster, conos, dfcomb, dfmta, dmbc, esaddle, evolqg, frailtySurv, gamreg, geomander, geometr, greybox, hts, kmc, lme4, mmpca, mnlfa, mrfDepth, msgl, nanotime, npsf, oppr, psychonetrics, ragt2ridges, raptr, relSim, samc, sctransform, seededlda, sglOptim, signalHsmm, starvz, telefit, treestructure.

See at CRAN