Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
romain@purrple.cat
@romain_francois
R / C++Romain FRANÇOIS
#eRum2016
updates
AbsFilterGSEA accelerometry acebayes ACEt AdaptiveSparsity ADMMnet AhoCorasickTrie AHR alakazam algstat AlignStat ALKr Ame...
BayesianNetwork BayesLCA bayesLife bayesm BayesMAMS bayesMCClust BayesMed bayesmeta bayesmix BayesMixSurv bayesPop bayespr...
*.h 94390
*.cpp 5575
99965
*.R 3134
motivation
int add( int a, int b ){
return a + b ;
}
C/R API
int add( int a, int b ){
return a + b ;
}
#include <R.h>
#include <Rinternals.h>
SEXP add_fun( SEXP a_, SEXP b_ ){
int a =...
$ R CMD SHLIB add.c
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -
I/usr/local/include -I/usr/local/...
Rcpp
#include <Rcpp.h>
// [[Rcpp::export]]
int add( int a, int b ){
return a + b ;
}
> sourceCpp( "add.cpp" )
> add( 17L, 25L )...
#include <Rcpp.h>
using namespace Rcpp
// [[Rcpp::export]]
double sum_cpp( NumericVector x){
int n = x.size() ;
double res...
sugar
pdistR <- function(x, ys) {
sqrt((x - ys) ^ 2)
}
sugar
NumericVector pdistCpp2( double x, NumericVector ys){
return sqrt( pow( x - ys, 2 ) ) ;
}
NumericVector pdistCpp( do...
modules
class Kittens {
public:
Kittens( int n_ ) : n(n_) ;
void meow() { ... };
void purr() { ... };
int n ;
} ; RCPP_MODULE(Cats...
dependency
problem
Rcpp n + 2
core
sugar
modules
core
modules
mypkg
developper
Rcpp n +1
core
sugar
modules
core
modules
Rcpp n
core
sugar
mo...
Rcpp n + 2
core
sugar
modules
core
modules
mypkg
developper
Rcpp n +1
core
sugar
modules
core
modules
Rcpp n
core
sugar
mo...
Rcpp n + 2
core
sugar
modules
core
modules
mypkg
developper
Rcpp n +1
core
sugar
modules
core
modules
Rcpp n
core
sugar
mo...
Rcpp n + 2
core
sugar
modules
core
modules
mypkg
developper
Rcpp n +1
core
sugar
modules
core
modules
Rcpp n
core
sugar
mo...
proposal
• C++ = C++11
• header only / no runtime dependency
• lightweight & modular
Rcpp11
Rcpp11
Rcpplightweight
Rcpp11
sugar
modules
...
...
modular
Rcpp11
sugar
modules
Rcpp11
sugar
modules
Rcpp11
sugar
modules
mypkg2
Rcpp11
mypkg1
Rcpp11
sugardev1
dev2
why C++11
uniform initialization
NumericVector x = { 1.0, 2.3, 3.3 } ;
for
double sum( NumericVector x ){
double res = 0.0 ;
for( double d: x) res += d ;
return res ;
}
lambdas
NumericVector pdist( double x, NumericVector ys ){
return sapply( ys, [&x]( double y ){
return sqrt( pow(x-y, 2.0)...
auto
NumericVector pdist( double x, NumericVector ys ){
auto fun = [&x]( double y ){
return sqrt( pow(x-y, 2.0) ) ;
} ;
re...
romain@purrple.cat
@romain_francois
?
R/C++
Upcoming SlideShare
Loading in …5
×

R/C++

R / C++ talk at eRum2016

  • Be the first to comment

  • Be the first to like this

R/C++

  1. 1. romain@purrple.cat @romain_francois R / C++Romain FRANÇOIS #eRum2016
  2. 2. updates
  3. 3. AbsFilterGSEA accelerometry acebayes ACEt AdaptiveSparsity ADMMnet AhoCorasickTrie AHR alakazam algstat AlignStat ALKr Amelia anytime apcluster arrApply ASPBay aSPU autovarCore BaBooN BacArena BalancedSampling BAMMtools Barycenter batman bayesAB BayesBD BayesComm BayesFactor bayesm bayou bcp bcpa beanz BEDMatrix BeviMed bfa bfp bifactorial bife BIFIEsurvey biganalytics bigFastlm biglasso bigmemory BigQuic bigReg bigtabulate BigVAR bio3d Biocomb BIPOD biwavelet blackbox blockcluster blockmodels blockseg bmlm bnnSurvival bootTimeInference btb btf BTLLasso BTR BuyseTest bvarsv bWGR BWStest CARBayes CARBayesST catlearn ccaPP cccp ccdrAlgorithm cda CDF.PSIdekick CDM CFC cgAUC ChannelAttribution chopthin CIDnetworks cIRT cladoRcpp classify clere climdex.pcic clogitboost clogitL1 clusrank ClusterR ClusterStability clusteval ClustMMDD ClustVarLV CMF coala collUtils combiter CompGLM ConConPiWiFun coneproj contoureR copCAR cord CorReg Countr Coxnet CoxPlus cpgen cqrReg crawl creditr crmPack Crossover ctmcd cxxfunplus cycleRtools Cyclops D3M darch datafsm dbmss dbscan ddalpha ddR DDRTree deepboost Delaporte DeLorean dendextendRcpp densityClust DepthProc DescTools DetMCD DetR devtools dfcomb dfmta dfphase1 dfpk DiffusionRgqd DiffusionRimp DiffusionRjgqd dils dina disclapmix discretecdAlgorithm diversitree diveRsity DLMtool DNAprofiles DNAtools dnc dplyr drgee dslice DStree dtwclust easyVerification EBMAforecast ECctmc ecp EditImputeCont eggCounts eive EloChoice emil emIRT energy EPGLM erah ESGtoolkit EstHer evolqg EWGoF exif extraDistr factorstochvol fastAdaboost FastBandChol fastcmh fasteraster fastGHQuad FastGP FastHCS fastM FastPCS FastRCS FBFsearch fbroc FCNN4R fdaMixed fdapace fdasrvf FDGcopulas FDRreg feather FeatureHashing FIACH fICA FisHiCal FIT flam flan flars flip FLSSS forecast forega forestFloor fourierin fourPNO fractional frailtySurv FRESA.CAD fromo FSInteract fugeR FunChisq Funclustering futureheatwaves fwsim gamreg gapfill GAS gaselect gaston GauPro GCPM gdm gdtools GEEaSPU geiger GeneticTools genie GENLIB GenomicTools geoCount geohash GERGM ggrepel GiRaF gjam gkmSVM glamlasso glcm glmBfp glmgraph glmmsr GMCM Gmedian Gmisc gmum.r gmwm gMWT gogamer googleway GPareto gpuR GPvam gRain graphicalVAR graphql gRbase gRim growcurves growfunctions grpSLOPE GSE gsEasy GUILDS GUTS GxM h5 hashmap haven hawkes HDPenReg hierarchicalSets hit hkevp HLMdiag HSAR hsphase htdp htmltidy htmltools hts httpuv HUM humaniformat humarray hunspell hyperSpec hypervolume hyphenatr IAPWS95 iBATCGH IBHM ibm icamix ICAOD iccbeta icd icd9 icensmis icRSF ie2misc iemisc IHSEP iLaplace imager immer imputeMulti inarmix inca indelmiss inline IntegratedMRF iprior iptools IRTpp IsingSampler isoph ISOpureR IsoSpecR iterpc JacobiEigen JAGUAR jiebaR jmcm jmotif joinXL JOUSBoost jqr JSM jtGWAS kamila kdecopula kergp kernDeepStackNet KernelKnn KernSmoothIRT kmc kmeans.ddR Kmisc l0ara LaF LambertW lamW LANDD Langevin largeVis LassoBacktracking lasvmR lbfgs lcopula lfl lifecontingencies lm.br lme4 lowmemtkmeans lpme lsbclust lsgl lucr Luminescence magick mapview marked markophylo markovchain MAT matchingMarkets matchingR MatchItSE mateable MatrixCorrelation maxent mbbefd mcemGLM mcga mcIRT mcmcse mcPAFit MediaK MEGENA MESS metafolio MetaheuristicFPA meteoland mets mev mgm mice miceadds microclass milr minimaxdesign minqa mirt mirtCAT miscF miscset MiSPU missDeaths MixAll MixedDataImpute mixedMem mixpack mkde mlmc mlxR mmand ModelMetrics Morpho move moveHMM mp Mposterior MPTinR MRS MSGARCH msgl MTS MultiBD multicool mvabund MVB mvcluster mvnfast mwaved myTAI nabor NAM ndjson ndl netcoh netdiffuseR NetRep NetSim neuroim ngspatial NHMM nmfgpu4R NNLM noncompliance nonlinearTseries NPBayesImpute NPflow odeintr oem OjaNP olctools OneArmPhaseTwoStudy onlinePCA ontologySimilarity openair OpenImageR OpenMx openxlsx optmatch orQA oXim PAC packcircles PACVB PAFit pander PanelCount partialAR pcalg pcIRT pdftools PedCNV pedometrics PenCoxFrail penMSM perccal PerMallows ph2bayes ph2bye phonics phybreak phylobase phylocurve phylosignal Pijavski plac planar plogr plotSEMM plyr poisDoubleSamp polyfreqs polywog PoweR PP PPtreeViz prclust precrec PReMiuM primes ProbitSpatial pROC prodlim ProFit ProNet propagate propr prospectr protolite prototest protViz pryr psd psgp purrr pvar PWD pystr qrencoder QRM quadrupen quanteda quantspec qVarSel qwraps2 radiomics rags2ridges ragt2ridges randomUniformForest ranger Rankcluster rankdist raster Rblpapi Rborist Rcereal Rclusterpp RcppAnnoy RcppAPT RcppArmadillo RcppBDT RcppCCTZ RcppClassic RcppClassicExamples RcppCNPy RcppDE RcppDL RcppEigen RcppExamples RcppFaddeeva RcppGetconf RcppGSL RcppHoney RcppMLPACK RcppNumerical RcppOctave RcppParallel RcppProgress RcppRedis RcppRoll RcppShark RcppSMC RcppStreams RcppTOML RcppXts RcppZiggurat rcss readr readstata13 readxl RealVAMS recexcavAAR recmap reconstructr recosystem redist rEDM regsem relSim rem remote ReorderCluster repolr resemble reshape2 revealedPrefs rexpokit Rfast rflann rforensicbatwing rFTRLProximal rgam rgeolocate RInside Rip46 ripa rivr rkvo Rlibeemd RLRsim Rmalschains rmgarch Rmixmod RmixmodCombi rmumps rncl RNifti RNiftyReg robustgam RobustGaSP robustHD robustreg rococo roll rollply rootWishart rotations RoughSets roxygen2 rpg Rphylopars rplexos rPref RProtoBuf RPtests RQuantLib RSNNS RSNPset Rsomoclu RSpectra RSSL rstan rstanarm RStoolbox rstpm2 rtk rtkore rtkpp Rtsne Ruchardet rugarch Rvcg rvg RVowpalWabbit rwfec rwirelesscom Ryacas saeRobust SAMM satellite saturnin sbfc sBIC sbmSDP sbrl SBSA scales SciencesPo scorer scoringRules scrm scrypt sdcMicro sdcTable SEERaBomb segmag seismicRoll SelvarMix seqHMM sequences sgd sglOptim sharpeRratio signalHsmm simFrame simmer simPop SimReg simstudy sirt sitmo slfm SLOPE smam smoof smooth SnakeCharmR snipEM snowboot snplist SocialNetworks SOD sourceR spacodiR spaMM SparseFactorAnalysis sparseHessianFD sparseLTSEigen sparsereg spass spatgraphs SpatialEpi SpatialTools SpatMCA SpatPCA spBayesSurv spduration spectral spray spsann SSL starma StatMethRank staTools steadyICA StepwiseTest StereoMorph stlplus stm StMoSim stochvol stocks stosim stplanr stpm strataG stream stremr strum SuperRanker survAccuracyMeasures surveillance surveybootstrap survSNP svglite SVMMatch synchronicity synlik synthACS systemicrisk tagcloud TAM TAQMNGR TauStar tbart tcR TDA tensorBSS termstrc TESS text2vec textmineR textreg textreuse TFMPvalue tibble tidyr timma tmg tmlenet tnam tokenizers TransferEntropy TreeBUGS devtools::revdep( "Rcpp") 8038.60 %
  4. 4. BayesianNetwork BayesLCA bayesLife bayesm BayesMAMS bayesMCClust BayesMed bayesmeta bayesmix BayesMixSurv bayesPop bayespref bayess BayesSAE BayesSingleSub BayesSummaryStatLM bayesSurv bayesTFR Bayesthresh BayesTree BayesTreePrior BayesVarSel BayesX BayesXsrc BayHaz bayou BaySIC BAYSTAR BB bbemkr BBEST BBmisc bbmle BBRecapture bc3net BCA BcDiag BCE BCEA BCEE BCEs0 Bchron Bclim bcp bcpa bcRep bcrm bcrypt bde BDgraph bdots bdpopt bdrift bdscale bdvis BDWreg bdynsys BEACH beadarrayMSV beanplot beanz BEDASSLE BEDMatrix bedr beepr benchmark benchmarkme benchmarkmeData benford.analysis BEQI2 ber Bergm berryFunctions Bessel BEST bestglm BetaBit betalink betapart betaper betareg betas betategarch BeviMed bfa bfast bfork bfp bgeva bglm bgmfiles bgmm BGPhazard bgsmtr BHH2 bhm biasbetareg bib2df bibliometrix bibliospec biclust BiDimRegression bifactorial bife BIFIEsurvey bigalgebra biganalytics bigdata BIGDAWG bigFastlm bigGP biglars biglasso biglm bigmemory bigml bigpca bigQueryR BigQuic bigReg bigrquery bigRR BigSEM bigtabulate BigTSP BigVAR bikeshare14 bimixt BinaryEPPM binaryLogic binda bindata binequality binford bingat binhf BinNonNor BinNor binom binomen binomSamSize BinOrdNonNor binseqtest binst bio3d Biocomb BiodiversityR BIOdry BioFTF biogas biogeo BioGeoBEARS biogram Biograph bioinactivation biom BioMark biomartr BIOMASS biomod2 BioPET bioplots biorxivr bios2mds biosignalEMG BioStatR biotic biotools bipartite biplotbootGUI BiplotGUI BIPOD birdnik birdring bisectr BiSEp bisoreg BivarP BivUnifBin biwavelet biwt bizdays bkmr blackbox BlandAltmanLeh Blaunet blavaan BLCOP blender blkbox blkergm blme blmeco blockcluster blockmodeling blockmodels blockseg blockTools blscrapeR BMA bmd bmem bmeta BMhyd bmk bmlm bmmix bmp BNDataGenerator bnlearn bnnSurvival bnormnlr BNPTSclust bnspatial bnstruct bodenmiller BOG bold bookdown boolean3 BoolNet Boom BoomSpikeSlab boostmtree boostr boostSeq boot bootES bootLR bootnet bootRes bootspecdens bootsPLS bootStepAIC bootSVD bootTimeInference boottol BootWPTOS boral Boruta BoSSA boxoffice boxr bpa bpca bpcp BPEC bpkde BradleyTerry2 braidReports BrailleR brainGraph brainR braQCA breakpoint bReeze brewdata brglm bridgedist briskaR brm brms broman broom brotli brr brranching BRugs BSagri bsam BSDA BSGS BSGW bshazard BSquare BSSasymp bst bsts btb btergm btf BTLLasso BTR BTSPAS BTYD bujar bunchr burnr BurStMisc BuyseTest bvarsv BVS bWGR BWStest c060 c3net C50 ca CaDENCE CADFtest cAIC4 CALF CALIBERrfimpute calibrar calibrate CalibrateSSB callr calmate CAM CAMAN camel camtrapR cancerGI cancerTiming candisc Canopy CANSIM2R cape caper capm captioner captr capushe car CARBayes CARBayesdata CARBayesST carcass cardidates cardioModel care caret caretEnsemble CarletonStats caroline carpenter caRpools CARrampsOcl cartogram cartography carx caschrono catdata CatDyn cate catenary CatEncoders cati catIrt catlearn caTools catspec causaldrf causaleffect CausalFX CausalGAM causalsens Causata cba CBPS cbsodataR CCA ccaPP cccd ccChooser cccp cccrm ccda ccdrAlgorithm cchs CCMnet CCpop CCTpack cda cdcfluview cdcsis CDF.PSIdekick cdfquantreg cdlTools CDM CDNmoney cdom cds CDVine CEGO celestial cellranger cellVolumeDist cem cems censorcopula censReg CensSpatial censusGeography censusr CEoptim CePa CepLDA CerioliOutlierDetection CFC cffdrs cg cgam cgAUC cgdsr ChainLadder changepoint changepoint.np ChannelAttribution ChannelAttributionApp ChaosGame CHAT CheckDigit checkmate checkpoint chemCal chemometrics ChemometricsWithR ChemoSpec cherry chillR chipPCR chngpt CHNOSZ ChoiceModelR choplump chopthin chords choroplethr choroplethrAdmin1 choroplethrMaps chromer chromoR chron CHsharp chunked CIDnetworks CINOEDV circlize CircOutlier CircStats circular cIRT CITAN Cite citr cjoint ckanr Ckmeans.1d.dp cladoRcpp clarifai class classGraph classifly classify classInt classyfire cleangeo clere clhs clickstream clifro climatol ClimClass climdex.pcic climextRemes climwin clinfun clipr clisymbols CLME clogitboost clogitL1 clogitLasso CLSOCP clubSandwich clue ClueR clues CluMix clusrank cluster ClusteredMutations clusterfly clusterGeneration clusterhap clusternomics clusterPower ClusterR clusterSEs clusterSim ClusterStability clusteval ClustGeo clustMD ClustMMDD clustrd ClustVarLV clustvarsel clv clValid cmaesr CMF cmna CMPControl cmprsk cmprskQR cmrutils cmsaf cmvnorm cncaGUI CNOGpro CNprep CNVassoc coala coalescentMCMC coarseDataTools cobalt COBRA cobs CoClust cocor cocoreg cocorresp cocron coda codadiags codep codingMatrices codyn coefficientalpha coefplot coenocliner coenoflex cofeatureR CoImp coin CoinMinD cointmonitoR cointReg CollapsABEL CollocInfer collUtils coloc coloredICA colorfulVennPlot colorplaner colorscience colorspace colorSpec colourpicker comato COMBIA combiter CombMSC cometExactTest comf ComICS CommEcol commentr commonmark CommonTrend CommT COMMUNAL CommunityCorrelogram Comp2ROC CompareCausalNetworks compareDF compareGroups compeir compendiumdb compete CompGLM Compind complexplus complmrob compoisson Compositional compositions compound.Cox Compounding CompR CompRandFld concatenate ConConPiWiFun concreg cond condformat condmixt CONDOP condSURV condvis coneproj confidence config conformal confreq Conigrave conjoint ConnMatTools ConSpline ConsRank constrainedKriging ContaminatedMixt conting contoureR contrast controlTest ConvergenceConcepts convevol convey convoSPAT cooccur cooccurNet coop cooptrees copBasic copCAR cope copula CopulaDTA copulaedas CopulaRegression CopulaREMADA CopyDetect coRanking Corbi corclass cord corehunter CORElearn coreSim corHMM corkscrew CORM corr2D CorrBin CorrectOverloadedPeaks CorReg corregp Correlplot corrgram CorrMixed corrplot corrr CorrToolBox COSINE cosinor CosmoPhotoz cosso costat cotrend couchDB COUNT Counterfactual Countr countrycode CountsEPPM countytimezones COUSCOus covafillr covBM covLCA covmat covr CovSel CovSelHigh covTest cowplot cowsay CoxBoost coxinterval coxme Coxnet coxphf coxphw CoxPlus CoxRidge coxrobust CP cp4p cpca CPE CpGassoc cpgen cplm CPMCGLM Cprob cqrReg cquad crackR cramer crandatapkgs cranlogs crawl crayon crch creditr credule CRF cricketr crimelinkage crmPack crn CrossClustering crossmatch Crossover crossReg crossval crp.CSFP crqa crrp crrSC crrstep crs crskdiag crtests CRTgeeDR crunch cruts CrypticIBDcheck CryptRndTest csampling cSFM cshapes csp csrplus cssTools cstar csvy ctl CTM ctmcd ctmcmove ctmm ctqr ctsem CTTShiny cubfits Cubist cudaBayesreg cudia CUFF curl curlconverter currentSurvival curvetest curvHDR cusp customizedTraining cutoffR cvAUC CVST CVThresh cvTools CVTuningCov cvxbiclustr cvxclustr cwhmisc cwm cxxfunplus cycleRtools cyclocomp Cyclops cymruservices cyphid cystiSim cytoDiv D2C d3heatmap D3M d3Network D3partitionR DAAG DAAGbio DAAGxtras dad dae daewr daff DAGGER dagitty Daim DAKS DamiaNN DAMisc DAMOCLES dams DandEFA darch Dark darksky data.table data.tree DatABEL datacheck datacheckr DataCombine datadr DataExplorer datafsm DataLoader datamap datamart dataonderivatives dataone datapack dataRetrieval datarobot datastepr datautils dataview DATforDCEMRI dave dawai dbarts dbConnect DBEST dbhydroR DBI DBItest DBKGrad dbmss dbscan dbstats DCchoice dcemriS4 DCG DCGL dcGOR DCL dclone DCluster dcmle dcmr DCODE dCovTS dcv ddalpha DDD ddeploy DDHFm ddpcr ddR DDRTree ddst deadband deBInfer DecisionCurve decisionSupport decode decoder decompr deconstructSigs Deducer DeducerExtras DeducerPlugInExample DeducerPlugInScaling DeducerSpatial DeducerSurvival DeducerText deducorrect deductive deepboost deeplearning degreenet Delaporte DeLorean deltaPlotR Demerelate demi deming demography demoKde DEMOVA dendextend dendextendRcpp dendroextras dendrometeR DendSer dendsort DengueRT denoiseR denovolyzeR densityClust DensParcorr densratio denstrip DEoptim depmix depmixS4 depth DepthProc Deriv derivmkts desc descomponer descr DescribeDisplay describer DescTools deseasonalize designmatch desiR desirability DESnowball DESP desplot detect detector DetMCD DetR detrendeR detzrcr Devore7 devRate devtools df2json dfcomb dfexplore DFIT dfmta dfphase1 dfpk dga dggridR dglm dgmb DHARMa dhga dhglm diagonals DiagrammeR DiagrammeRsvg DiagTest3Grp DiallelAnalysisR DiceDesign DiceEval DiceKriging DiceOptim DiceView DidacticBoost dielectric diezeit DIFboost Difdtl DiffCorr diffdepprop diffeR diffIRT diffobj diffr diffusionMap DiffusionRgqd DiffusionRimp DiffusionRjgqd DIFlasso difNLR difR DIFtree digest Digiroo2 digitize dils dina Directional directlabels directPA DirichletReg discgolf disclapmix DiscML discretecdAlgorithm discreteRV DiscriMiner discSurv diseasemapping DisimForMixed diskImageR dismo disp2D disparityfilter disposables dissUtils Distance distance.sample.size DistatisR distcomp distory distr distrDoc distrEllipse distrEx DistributionUtils distrMod distrom distrRmetrics distrSim distrTeach distrTEst divagis DivE diveMove diverse diversitree diveRsity DiversityOccupancy DivMelt divo dixon DJL DLASSO dlm dlmap dlmodeler DLMtool dlnm dlsem dlstats dma dml dmm dMod DMRMark dmt DMwR DMwR2 dna DNAprofiles DNAtools dnc dnet DNMF DOBAD doBy docopt docopulae docxtractr DODR DoE.base DoE.wrapper doFuture doMC Dominance domino doMPI doParallel doRedis doRNG DoseFinding doSNOW dosresmeta dostats DOT DoTC dotCall64 dotwhisker DoubleCone Dowd downloader downscale downsize dpa DPBBM dpcR dplR dplyr dpmixsim dpmr DPpackage dprep dr drat DRaWR DrBats drc drfit drgee DrillR DRIP drLumi dropR DRR drsmooth DrugClust dsample DSBayes dse dslice dsm DSpat DSsim DstarM DStree DSviaDRM DT dtables DTComPair dti dtplyr DTR DTRlearn dtw dtwclust dtwSat dualScale dvfBm DVHmetrics DWreg dygraphs DYM dyn dynamicGraph dynatopmodel dynaTree dynlm DynNom dynpred dynr dynRB dynsim dynsurv DynTxRegime DySeq e1071 eAnalytics earlywarnings earth earthtones EasyABC easyanova easyformatr EasyHTMLReport EasyMARK easypackages easypower easyVerification eba EBASS ebdbNet EBglmnet EBMAforecast EBS ecb ECctmc ecd Ecdat ecdfHT ecespa Ecfun ECharts2Shiny ecipex eco ecoengine EcoGenetics EcoHydRology ecolMod EcoSimR ECOSolveR ecospace ecospat ecp ecr edeaR EDFIR edfReader edfun edgar edgebundleR edgeRun EDISON EditImputeCont editrules EDR edrGraphicalTools edstan eechidna eegAnalysis eegkit eel EEM eemR eeptools EFDR EffectLiteR effects EffectsRelBaseline EffectStars EffectStars2 effsize efreadr EFS ega egcm eggCounts egonet EGRET EGRETci eha eHOF ei EIAdata eiCompare EILA eiPack eive eiwild elasso elastic elasticIsing electionsBR elementR ElemStatLearn elhmc ellipse elliptic elmNN EloChoice EloRating elrm ElstonStewart ELT ELYP EMA EMbC embryogrowth EMC EMCluster EMD emdbook emil emIRT EmiStatR emma EMMAgeo emme2 EMMIXskew EMMIXuskew EMMLi EMMREML emojifont emon EMP EmpiricalCalibration emplik EMSaov emuR enaR endorse energy energyr EngrExpt engsoccerdata enigma ENiRG ENMeval ENmisc enpls EnQuireR enrichwith EnsembleBase ensembleBMA EnsembleCV ensembleMOS EnsemblePCReg EnsemblePenReg ensembleR ensurer entropart enveomics.R enviPick envirem EnviroStat envlpaster EnvNicheR EnvStats epade epandist epanetReader EPGLM Epi EpiBayes epiDisplay EpiDynamics epifit EpiModel epinet epiR episensr episheet episplineDensity epoc epr EQL eqs2lavaan eqtl equateIRT equivalence erah erboost erer ergm ergm.count ergm.ego ergm.graphlets ergm.rank ergm.userterms eRm erp.easy erpR errint esaBcv esc ESEA ESGtoolkit ESKNN estatapi EstCRM EstHer etable ETAS etasFLP ETC etl ETLUtils etm etma etrunct etseed euroMix europepmc EurosarcBayes eurostat eva EvalEst evaluate Evapotranspiration evclass evclust evd eventInterval eventstudies evmix evobiR evolqg evolvability Evomorph evoper evt0 evtree EWGoF ExactPath exactRankTests exams ExceedanceTools excel.link exCon excursions exif exifr ExomeDepth exp2flux expandFunctions expands expectreg experiment ExplainPrediction explor exploreR expm expoRkit expoTree expp exprso expsmooth expss exreport EXRQ exsic ExtDist extracat extraDistr extraTrees extRemes extremeStat extremevalues extremogram eyelinker eyetrackingR ez ezec ezknitr ezsim ezsummary face FacPad FactMixtAnalysis FACTMLE FactoClass factoextra FactoMineR factorplot factorQR factorstochvol Factoshiny FADA Fahrmeir fail FAiR fakeR fame FamEvent Familias FAMILY fanc fanovaGraph fanplot FAOSTAT faoutlier far faraway farff fArma fAsianOptions fAssets fast fastAdaboost FastBandChol fastclime fastcmh fastcox fasteraster fastGHQuad FastGP FastHCS fastHICA fastICA FastImputation FastKM FastKNN fastM FastPCS fastR FastRCS fat2Lpoly FatTailsR FAwR fBasics fbati FBFsearch fBonds fbRads fbRanks fbroc fcd fCertificates FCGR FCMapper FCNN4R fCopulae FD fda fda.usc fdaMixed fdapace fdaPDE fdasrvf fdatest FDboost fdcov FDGcopulas fdrDiscreteNull FDRreg fds FeaLect feather feature FeatureHashing features FedData federalregister FeedbackTS feedeR FENmlm fermicatsR fExoticOptions fExpressCertificates fExtremes ff ffbase FFD FField FFTrees fGarch Fgmutils FGN fgpt fheatmap FHtest FIACH fICA fields FieldSim fiery fifer filehashSQLite filematrix filenamer fImport FinancialInstrument FinCal FindIt FindMinIC findpython findviews FinePop finreportr FinTS FisherEM FisHiCal fishmethods fishmove FIT fit.models fit4NM FitAR FitARMA fitbitScraper fitcoach fitdistrplus fitTetra fixedTimeEvents flacco flam flan flare flars flexclust flexCWM flexdashboard flexmix FlexParamCurve flexPM flexrsurv flexsurv FLIM flip FLLat flora flowDiv flowfield flowr flows FlowScreen flsa FLSSS flux fma FME fmri fmrs fMultivar FNN fNonlinear fontquiver foodweb fOptions forams forcats foreach ForeCA forecast ForecastCombinations forecastHybrid forecTheta forega forensic forestFloor forestinventory forestmodel forestplot ForImp formatR formattable formula.tools forward ForwardSearch fossil fourierin fourPNO fpa fpc fpca fpCompare fPortfolio fpp fracdiff fractal fractaldim fractalrock fractional frailtyHL frailtypack frailtySurv frair Frames2 franc FRAPO FRB frbs FRCC FREddyPro FreeSortR freestats freesurfer FREGAT fRegression freqdom freqparcoord FreqProf freqweights FRESA.CAD FrF2 FrF2.catlg128 frmqa fromo frontier frontiles FSA fscaret FSelector FSInteract fslr fso fSRM FTICRMS fTrading fts ftsa ftsspec fueleconomy fugeR fullfact fulltext FunChisq FunCluster Funclustering FuncMap functools funcy funData funFEM fungible funHDDC fUnitRoots funModeling funr funrar funreg funtimes furniture FusedPCA futile.any futile.logger futile.matrix future future.BatchJobs futureheatwaves fuzzr Fuzzy.p.value FuzzyAHP fuzzyforest fuzzyjoin FuzzyLP FuzzyMCDM FuzzyNumbers FuzzyR FuzzyStatProb FWDselect fwsim fxregime G1DBN g2f G2Sd GA GAabbreviate GABi GAD galts gam gamair GAMBoost gamboostLSS gamboostMSM gamclass GAMens games GameTheory GameTheoryAllocation gamlr gamlss gamlss.add gamlss.cens gamlss.demo gamlss.dist gamlss.mx gamlss.nl gamlss.spatial gamlss.tr gamlss.util gamm4 gammSlice gamreg gamsel gap gapfill gapmap gapminder GAR GAS gaselect gaston GauPro gazepath gb GB2 gbm gbm2sas gbts gcbd GCD gcdnet gcerisk gclus gcmr gcookbook GCPM GDAdata gdalUtils GDAtools GDELTtools gdimap gdistance gdm gdns gdtools gear gee GEEaSPU geeM geesmv geiger GEint gelnet gem gems gemtc GenABEL genasis GenCAT gencve gender genderizeR genderNames GENEAread GeneCycle GeneFeST Geneland genemodel geneNetBP generalCorr generalhoslem GeneralizedHyperbolic GeneralOaxaca GeneralTree generator GeneReg geneSignatureFinder geneSLOPE genetics GeneticTools GeNetIt genie GenKern genlasso GENLIB genMOSS genomeplot genomicper GenomicTools genoPlotR GenOrd genpathmox genridge gensphere genSurv geo geoaxe geoBayes geocodeHERE geoCount GeoDE geoelectrics geofd GeoGenetix geohash geojsonio geojsonlint geoknife GeoLight GEOmap geomapdata geometry geomnet geomorph geoparser geophys geoR geoRglm georob geospacom geosphere geospt geosptdb geostatsp geotopbricks GeoXp geozoo GERGM GESE gesis GESTr GetHFData getlandsat getMet getopt GetoptLong getPass GetR gets GetTDData gettingtothebottom GEVcdn GEVStableGarch gfcanalysis GFD GGally ggalt ggbeeswarm ggcorrplot ggdendro gge GGEBiplotGUI ggenealogy ggExtra ggfortify ggghost GGIR ggiraph gglogo ggm ggmap ggmcmc GGMridge GGMselect ggnetwork ggparallel ggplot2 ggpmisc ggpolypath ggpubr ggRandomForests ggraptR ggrepel ggROC ggsci ggseas ggsn ggspectra ggswissmaps ggtern ggThemeAssist ggthemes ggvis GHap ghit GHQp ghyp GiANT GibbsACOV gimme gimms GiNA GiRaF giRaph GISTools gistr gitgadget githubinstall gitlabr gitter givitiR Giza gjam GK2011 gkmSVM glamlasso glarma glcm gld GLDEX GLDreg glinternet glm.ddR glm.predict glmbb glmBfp glmc glmgraph glmm glmmBUGS glmmLasso GLMMRR glmmsr glmnet glmnetcr glmpath glmpathcr glmulti glmvsd glmx globalboosttest GlobalFit GlobalOptions glogis glrt GLSME glycanr gmailr GMCM gMCP GMD gmDatabase GMDH Gmedian gmeta Gmisc gmm GMMBoost gmnl gmodels gmp gmum.r gmwm gMWT GNE gnm goeveg gof gofCopula GoFKernel goft gogamer GOGANPA gogarch GoodmanKruskal googleAnalyticsR googleAuthR googleCloudStorageR googleformr googlePublicData googlesheets googleVis googleway GOplot GORCure goric gower gpairs GPareto GPC GPCSIV gpDDE GPFDA GPfit gplm gplots GPLTR gpmap gProfileR gptk gpuR GPvam gquad Grace GRaF gRain gramEvol GrammR granova granovaGG gRapfa graphicalVAR graphql graphscan graphTweets GrassmannOptim graticule gRbase gRc Greg greport grex greyzoneSurv Grid2Polygons gridBase gridDebug gridExtra gridGraphics gridGraphviz gridsampler gridSVG GriegSmith gRim grImport groc gromovlab grouped growcurves growfunctions growthcurver growthrate growthrates grpreg grpregOverlap grpSLOPE grpss grt GSAgm gsarima gsbDesign gsDesign GSE gsEasy gSEM gset gsg gsheet GSIF gskat GSMX GSODR gsrc GSSE gstat gsubfn gtable gte gtop gtrendsR gtx Guerry guess GUIDE GUILDS GUIProfiler GUniFrac gunsales gutenbergr GUTS gvc gvcm.cat GWAF gwdegree gwerAM gWidgets gWidgets2 gWidgets2RGtk2 gWidgets2tcltk gWidgetsRGtk2 gWidgetstcltk GWLelast GWmodel GWRM gwrr GxM gyriq h2o h5 haarfisz HAC HadoopStreaming hail hamlet HandTill2001 HAP.ROR HapEstXXR Haplin haplo.ccs haplo.stats haploReconstruct HaploSim haplotyper haplotypes HardyWeinberg HarmonicRegression Harvest.Tree harvestr hash hashFunction hashids hashmap hashr haven hawkes hazus hBayesDM HBglm hbm hbsae HBSTM hda HDclassif hddplot hddtools hdi HDInterval hdlm hdm HDMD hdnom HDoutliers hdpca HDPenReg hdr hdrcde heatmap3 heatmaply heemod hellno HelpersMG helsinki heplots hergm heritability hermite het.test hetmeta hett heuristica hexbin hextri hgam hglasso hglm hglm.data HH HHG hht HIBPwned HiCfeat HiDimDA HiDimMaxStable hierarchicalDS hierarchicalSets hierband hierformR hierfstat HIest highcharter highD2pop HighDimOut highfrequency highmean highr highriskzone highSCREEN highTtest hillmakeR HiPLARM hiPOD hisemi hisse HistData HistDAWass HistogramTools historydata hit hitandrun HiveR hkclustering hkevp hkex.api HKprocess HLMdiag HLSM hmeasure Hmisc hmmm HMP HMPTrees hms HMVD hnp hoa hoardeR homals homeR homomorpheR HomoPolymer horizon hot.deck hotspots HPbayes hpcwld hpoPlot HRM HSAR HSAUR HSAUR2 HSAUR3 hsdar hSDM hsm hsphase HSROC htdp htmltab htmlTable htmltidy htmltools HTMLUtils htmlwidgets hts HTSCluster httk httpcache httping httpuv httr huge HUM humanFormat humaniformat humarray humidity hunspell HWEBayes hwriterPlus hwwntest HWxtest hybridEnsemble hybridHclust HybridMC hybridModels HydeNet hydroGOF HydroMe hydroPSO hydrostats hydroTSM hyfo hyper.fit HyperbolicDist hyperdirichlet hypergeo hyperSMURF hyperSpec hypervolume hyphenatr HyPhy hypoparsr hypothesisr hysteresis hzar IalsaSynthesis IAPWS95 IAT IATscores iBATCGH ibd IBDsim ibeemd IBHM ibm ibmcraftr ibmdbR ibr IBrokers iBUGS ic.infer iC10 icamix icaOcularCorrection ICAOD icarus ICBayes iccbeta icd icd9 icdGLM ICE ICEbox ICEinfer icenReg icensmis icesDatras icesSAG ICGE ICGOR iClick iCluster icpsrdata icRSF ICS ICSNP ICsurv icsw idbr idem idendr0 idm iDOS IDPmisc IDPSurvival iDynoR ie2misc ie2miscdata iemisc iemiscdata iemisctext iFad ifaTools ifctools IFP ifultools iGasso IGM.MEA IgorR igraph igraphdata igraphinshiny igraphtosonia ihs IHSEP iki.dataclim iLaplace ilc ILS IM imageData imager IMFData imfr imguR immer IMP imp4p ImpactIV imPois import ImportExport imprProbEst imputeLCMD imputeMissings imputeMulti imputePSF imputeTestbench imputeTS imputeYn in2extRemes inarmix inbreedR inca inctools IncucyteDRC indelmiss IndependenceTests indicspecies inegiR iNEXT inference InferenceSMR inferference influence.ME influence.SEM influenceR infoDecompuTE Information InformationValue InformativeCensoring informR infuser Infusion infutil injectoR INLABMA inline inlmisc inpdfr insideRODE InSilicoVA insol InspectChangepoint INSPIRE install.load installr instaR intamap intamapInteractive IntClust IntegratedJM IntegratedMRF InteractiveIGraph interAdapt Interatrix intercure intergraph internetarchive interplot Interpol.T InterpretMSSpectrum interpretR InterSIM interval IntLik IntNMF inTrees intReg introgress intsvy intubate InvariantCausalPrediction InventorymodelPackage investr invGauss io ionr iopsych iotools ipdmeta ipdw ipflasso iplots IPMpack ipred iprior ips IPSUR IPtoCountry iptools ipw IQCC iqspr irace IRdisplay iRefR iRegression IRISMustangMetrics IRISSeismic irlba irtDemo irtoys IRTpp irtProb irtrees IRTShiny isa2 isdals IsingFit IsingSampler ISLR ismev IsoCI isocir IsoGene isopam isoph IsoplotR ISOpureR IsoriX IsoSpecR isotonic.pen IsotopeR ISOweek isva ISwR itcSegment ITEMAN iteRates iterpc itertools itertools2 ITGM itree its itsadug IUPS ivlewbel ivmodel ivpack iWeigReg iWISA jaatha jackknifeKME JacobiEigen JADE jagsUI JAGUAR james.analysis janeaustenr janitor JBTools JGEE JGL JGR jiebaR jiebaRD JM JMbayes jmcm Jmisc jmotif jocre joineR joint.Cox JointModel JointRegBC joinXL jomo JOP JoSAE jose JOUSBoost jqr JRF jrich jrvFinance js JSM jSonarR jsonlite jsonvalidate jtGWAS jtrans jug junr JWileymisc kamila kantorovich KappaV kaps karaoke KATforDCEMRI kdecopula kdetrees kehra kelvin Kendall kequate kerdiest kergp kernDeepStackNet kernelFactory Kernelheaping KernelKnn kernscr KernSmooth KernSmoothIRT keyplayer KFAS kfigr KFKSDS kimisc kin.cohort kineticF kinn kinship2 kissmig kitagawa kknn klaR klausuR klin km.ci kmc kmconfband kmeans.ddR kmi Kmisc kml kml3d kmlShape kmodR knitcitations knitLatex knitr knitrBootstrap knnGarden knockoff kobe KODAMA KOGMWU kohonen KoNLP koRpus Kpart kpodclustr kriens kriging KrigInv KRLS krm ks KScorrect KSD kselection kst ktsolve kulife kwb.hantush kyotil kzfs kzs l0ara l2boost labdsv labelled labelrank LabourMarketAreas laeken LaF laGP Lahman LakeMetabolizer lakemorpho laketemps lambda.tools Lambda4 LambertW lamW LANDD landest landpred landsat landsat8 landscapeR Langevin languageR LaplacesDemon lar largeVis laser LassoBacktracking lassoscore lasvmR latentnet Laterality latex2exp lattice latticeDensity latticeExtra LatticeKrig lava lava.tobit lavaan lavaan.shiny lavaan.survey lawn lawstat lazyData lazyeval lazyrmd lazysql lazyWeave lba lbfgs lbiassurv LCAextend lcda lcmm lcopula lctools lda ldamatch ldatuning LDAvis ldbod ldbounds LDcorSV LDheatmap ldlasso LDOD LDPD ldr LDRTools ldstatsHD leaflet leafletR LEAP LEAPFrOG leapp leaps learningCurve learningr learNN learnstats lefse LeLogicielR LendingClub lessR lestat letsR lettercase LexisPlotR lexRankr lfactors lfda lfe lfl lfstat lga lgarch lgcp LGEWIS libamtrack LiblineaR.ACF Libra LICORS LICurvature lifecontingencies lifecourse LifeHist LifeTables liftLRD liftr LightningR lightsout LIHNPSD likelihood likelihoodAsy likeLTD likert LIM limSolve linbin LindenmayeR LindleyR linear.tools LinearizedSVR linERR lineup linkcomm LinkedMatrix LinRegInteractive LINselect lintools lintr liqueueR lira liso list listenv listless listviewer listWithDefaults littler livechatR llama lle lllcrc LLSR lm.br lme4 lmem.gwaser lmem.qtler lmeNB lmenssp LMERConvenienceFunctions lmeresampler lmerTest lmeSplines LMest lmeVarComp lmfor lmmlasso lmmot lmms lmomco lmPerm lmSupport lmtest LncMod LncPath LNIRT loa localdepth localgauss localsolver LocFDRPois locfit locits Lock5withR lodGWAS loe log4r logbin LogConcDEAD logconcens logcondens logcondens.mode logcondiscr LogicForest LOGICOIL LogicOpt LogicReg logistf LogisticDx logisticPCA LOGIT logmult LogrankA lokern longitudinalData longmemo longpower longurl loo lookupTable loop LoopAnalyst loopr lordif LOST lowmemtkmeans lpbrim LPCM LPM lpme LPmerge LPR LPTime lqmm lqr LRcontrast lrequire lrmest LS2W LS2Wstat LSAfun LSAmitR lsbclust LSC lsgl lsl lsmeans LSMonteCarlo LSPFP lspls lss LSTS ltbayes ltm ltmle LTRCtrees ltsbase ltsk lubridate luca lucid lucr lulcc lumendb Luminescence luzlogr lvm4net LVMMCOR lvnet lvplot LW1949 lymphclon M3 maboost MAc machina machQA macleish MAclinical MAd mada maddison madness mads Maeswrap magclass magicaxis magick magrittr maGUI mailR MAINT.Data MakefileR makeFlow malani MALDIquant MALDIquantForeign MAMA managelocalrepo manhattanly manifestoR MANOVA.RM MAPA mapdata mapfit MapGAM MAPLES mapmisc mapproj mapr maps mapStats maptools maptpx maptree mapview mAr MAR1 mar1s marelac marg markdown marked maRketSim markmyassignment markophylo markovchain MarkowitzR marmap MARSS maSAE mason MASS MasterBayes MAT Matching MatchingFrontier matchingMarkets matchingR MatchIt MatchItSE MatchLinReg matchMulti matconv mateable matie matlabr matlib matpow matR Matrix Matrix.utils MatrixCorrelation MatrixModels matrixpls matrixStats MAVIS MAVTgsa maxent MaxentVariableSelection maxLik maxlike MaxPro maxstat MazamaSpatialUtils MBA mbbefd MBESS mbest MBmca mbmdr mboost MBSGS MBTAr mc2d MCAPS MCDM mcemGLM mcga mcgibbsit mcglm mcheatmaps mcIRT MCL mclcar mcll mclogit mclust mcmc MCMC.OTU MCMC.qpcr MCMCglmm MCMCpack mcmcplots mcmcse MCMCvis mco Mcomp mcPAFit MCPAN mcparallelDo MCPerm MCPMod mcprofile mcsm McSpatial mda mdhglm MDM MDMR MDplot MDPtoolbox MDR mdscore mdsdt MDSGUI mdsr MeanShift measuRing meboot mederrRank medflex MediaK Mediana mediation medicalrisk medicare MEET mefa mefa4 megaptera MEGENA meifly mem memgene memisc memo memoise MEMSS MendelianRandomization MenuCollection MergeGUI merTools MESS meta meta4diag MetaAnalyser MetABEL MetabolAnalyze metabolomics MetaboQC metacoder metacom MetaCycle MetaDE metafolio metafor metafuse metagear metagen metaheur MetaheuristicFPA MetaIntegrator MetaLandSim metaMA metamisc metaMix MetaPCA metaplotr metaplus MetaQC metaRNASeq metaSEM metasens Metatron meteo meteoForecast meteogRam meteoland meteR MetFns Meth27QC MethComp MethodCompare Methplot MetProc metricsgraphics metricTester metRology mets MetSizeR MetStaT mev mexhaz MFHD mFilter mfp MFPCA MfUSampler mfx mgarchBEKK mgcv MGGM MGLM mglmn mgm mgpd mgraph MGSDA mGSZ MHadaptive mHG mht MHTrajectoryR mhurdle mi MIAmaxent mice miceadds micEcon micEconAids micEconCES micEconSNQP micompr miCoPTCM microbenchmark microclass MicroDatosEs micromap micromapST micropan microplot MicroStrategyR MicSim midasr midastouch midrangeMCP MigClim migration.indices migui MIICD MIIVsem milonga milr MImix miniCRAN minimap minimaxdesign minimist miniUI minpack.lm minPtest minqa minque MInt MIPHENO mirt mirtCAT miRtest misc3d miscF miscFuncs misclassGLM miscor miscset miscTools MiSPU missDeaths missForest MissingDataGUI missMDA mistat mistral MitISEM mitml mitools mixAK MixAll mixcat MixedDataImpute mixedMem MixedPoisson mixedsde MixedTS mixexp MIXFIM MixGHD mixlm MixMAP mixOmics mixor mixpack mixPHM MixRF mixsep MixSIAR MixSim mixtools mixtox mizer mkde mkin MKmisc mlbench MLCIRTwithin mlDNA mldr mldr.datasets MLDS mlearning mleur mlgt mlma mlmc MLmetrics mlmRev mlogit mlogitBMA MLPUGS mlr mlsjunkgen mlt mlt.docreg mlVAR mlxR MM MM2S MM2Sdata mma mmand mmc MMDai mme mmeta mmm mmm2 MMMS mmod mmppr MMS mmtfa MMWRweek mnlogit MNM MNP MNS Mobilize MOCCA Modalclust modeest ModelGood ModelMap ModelMetrics modelr modiscloud modMax modQR modTempEff modules mogavs MOJOV mokken moko molaR mombf Momocs momr mondate MonetDB.R MonetDBLite mongolite monitoR monkeylearn monogeneaGM monographaR MonoInc monomvn MonoPhy moonBook morgenstemning Morpho morse MortalitySmooth MortHump mosaic mosaicData mosaicQA MoTBFs MotilityLab moult mountainplot mousetrap move moveHMM movMF mp mpa MPAgenomics mpath mpbart MPDiR MPINet MPLikelihoodWB mplot MplusAutomation mpm mpMap mpmcorrelogram mpmi mpoly Mposterior mpr MPSEM MPTinR mptools mQTL mratios MRCV mrds mregions MRH mritc mrMLM MRMR mRMRe MRS MRsurv MRwarping msaenet msap msarc msBP MSBVAR MSCMT MScombine mscstexta4r mscsweblm4r msda MSeasy MSeasyTkGUI MSG MSGARCH msgl msir MSIseq msltrend msm msme msmtools msos MSQC msr msSurv MST mstate MSwM mtconnectR mtk MTS mtsdi MTurkR MTurkRGUI MUCflights MuFiCokriging muhaz muir multcomp multcompView MultEq multgee multiAssetOptions MultiBD multibiplotGUI multic multiCA multicon multicool multiDimBio multifwf MultiGHQuad multigraph multigroup MultiLCIRT multilevel multilevelPSA multimark MultiMeta multinomRob MultiOrd multipanelfigure MultiPhen multiPIM multipleNCC multiplex multiplyr multirich MultiRR multisensi multisom MultiSV multitaper multiwayvcov muma MuMIn munfold munsell munsellinterpol muRL musica musicNMR mutoss mutossGUI MuViCP MVA mvabund MVar.pt MVB MvBinary mvc mvcluster mvctm mvcwt mvdalab mvglmmRank mvinfluence MVLM mvmesh mvmeta mvMORPH MVN mvna mvnfast mvnTest mvoutlier mvPot mvProbit mvQuad MVR mvSLOUCH mvst mvtboost mwa mwaved MWLasso MXM mycor myTAI mztwinreg nabor NADA nadiv NAM nanop NanoStringNorm NAPPA nasadata nat nat.nblast nat.templatebrains nat.utils naturalsort nbc4va nbpMatching NCA nCal ncappc ncdf.tools NCmisc ncvreg ndjson ndl ndtv NEArender nearfar neat NeatMap needy NEff neldermead neotoma NEpiC NestedCohort nestedRanksTest netassoc netClass NetCluster netcoh netdiffuseR netgen netgsa NetIndices netmeta NetOrigin NetRep nets NetSim NetSwan nettools network NetworkComparisonTest networkD3 networkDynamic networkDynamicData networkreporting networksis networkTomography neuralnet NeuralNetTools neurobase neuroim neuropsychology nFactors NFP ngram ngramrr ngspatial NHANES nhanesA NHEMOtree nhlscrapr NHMM NHMSAR NHPoisson nhstplot nicheROVER NightDay nima nimble Nippon NIPTeR nivm NlcOptim nlme nlmeODE nlmeU nlmrt nlnet nloptr NLPutils nlreg nlrr nlsem nlshrink nlstimedist NlsyLinks nlts nLTT NMF nmfgpu4R NMOF nnet nnetpredint NNLM NNS NNTbiomarker nodeHarvest nodiv NoiseFiltersR nomadlist nomclust NominalLogisticBiplot noncompliance nonlinearTseries nonmem2R nonnest2 nonparaeff NonpModelCheck nonrandom nontarget nopp nor1mix NormalGamma NormalLaplace NormPsy NORRRM NORTARA np nparACT nparcomp nparLD NPBayesImpute npbr NPC NPCD NPCirc npcp npde NPflow NPHMC npIntFactRep nplr npmlreg NPMPM npregfast nproc npROCRegression npsm npsp NSA nscancor nsga2R nsgp NSM3 nsprcomp NSUM nullabor numbers nutshell nutshell.audioscrobbler nutshell.bbdb nycflights13 nzelect oaColors oai OAIHarvester oapackage oaPlots oasis OasisR oaxaca obAnalytics oblique.tree obliqueRF oc oce oceanmap OceanView ocomposition ODB oddsratio odeintr odfWeave odfWeave.survey oec OECD oem oglmx OIdata oii OIsurv OjaNP okmesonet olctools OLScurve OmicKriging omics oncomodel Oncotree OneArmPhaseTwoStudy onemap OneR ONETr onlineCPD onlinePCA onls ontologyIndex ontologyPlot ontologySimilarity OpasnetUtils OPDOE openadds openair opencage opencpu OpenImageR OpenMx OpenRepGrid openssl OpenStreetMap opentraj openVA openxlsx opera operator.tools operators optAUC optband optBiomarker optCluster optDesignSlopeInt optigrab OptimaRegion optimbase optimr optimsimplex optimx OptInterim OptiQuantR optiRum optiscale optiSel optismixture optmatch optparse optpart optrees ora ordBTL ordDisp orddom ORDER2PARENT orderbook orderedLasso OrdFacReg ordiBreadth ordinal ordinalCont OrdinalLogisticBiplot ordinalNet OrdLogReg OrdNor ordPens ore ores OrgMassSpecR orgR orientlib OriGen originr oro.dicom oro.nifti oro.pet orQA orsifronts orsk OrthoPanels osc osd osi osmar osmplotr OSMscale osrm OTE otrimle OTRselect ouch outbreaker OutbreakTools OutlierDC OutlierDM OutrankingTools OUwie overlapping oXim P2C2M p3state.msm pa PAC packagetrackr packcircles packHV packrat pacman paco pact PACVB Pade paf PAFit pagenum pageviews PAGI PAGWAS PairedData pairsD3 PairViz pairwise pairwiseCI palaeoSig paleobioDB paleofire paleoMAS paleomorph paleotree paleoTS palettetown palr pamctdp pamm pampe pamr pan pAnalysis PANDA pander pandocfilters panelaggregation panelAR PanelCount pangaear PANICr PanJen papayar papeR ParallelForest parallelMap parallelML ParallelPC parallelSVM ParallelTree paramGUI ParamHelpers paramlink params paran parboost parcor ParetoPosStable parfm parfossil parma PARSE parsedate partDSA partialAR partialOR partitionMap partitions partools party partykit parviol PAS PASenseWear pass pastecs pastis PASWR PASWR2 patchDVI patchPlot patchSynctex PATHChange pathClass pathdiagram pathmox pathological PathSelectMP patPRO PatternClass pauwels2014 pavo PAWL pbatR PBD pbdZMQ PBImisc pbkrtest pbmcapply pbo PBSadmb PBSddesolve PBSmapping PBSmodelling pca3d PCA4TS pcaBootPlot pcadapt pcalg pcaPA pcev PCGSE pch pcIRT pcnetmeta PCovR PCPS pcrcoal pcrsim PCS pdc pdfCluster pdfetch pdftables pdftools pdmod pdolsms pdp PDQutils pdR peakPick peakRAM pec pedantics PedCNV pedgene pedigree pedigreemm pedometrics pegas PEIP pems.utils penalized penalizedLDA penalizedSVM pencopula PenCoxFrail pendensity penDvine penMSM pensim peperr PepPrep peptider pequod perARMA Perc perccal PerFit PerformanceAnalytics performanceEstimation pergola perm PerMallows permGPU permPATH permubiome permutations permute perry PersomicsArray personograph perspectev perturb pETM petrinetR pewdata pez pfa PGEE PGICA pgirmess pglm pGLS pGMGM pgraph PGRdup ph2bayes ph2bye ph2mult phalen phangorn PharmacoGx PhaseType phcfM pheatmap phenability phenex PHENIX phenmod pheno pheno2geno phenology PHeval phia phmm phonenumber phonics phonR photobiology photobiologyInOut photobiologyPlants photobiologyWavebands PhViD Phxnlme phybreak phyclust phyext2 phylin phylobase phyloclim phylocurve phyloland phylolm PhyloMeasures phylometrics phylopath phylosignal phylosim phylotools phyloTop phyndr PhysActBedRest physiology PhySortR phytools phytotools pi0 picante picasso pid piecewiseSEM PIGE PIGShift Pijavski pim pingr pinnacle.API pipe.design pipefittr pipeR pitchRx PivotalR pixiedust pkgconfig pkgcopier pkgKitten pkgmaker PKgraph PKNCA PKPDmodels PKreport pks plac placement planar plantecophys plaqr PlasmaMutationDetector plater platetools playwith pleio plfm plfMA plgp plm plmDE plmm plogr plot3D plot3Drgl plotfunctions plotGoogleMaps plotKML plotluck plotly plotMCMC plotMElm plotmo PlotPrjNetworks plotROC plotSEMM plotwidgets plRasch pls PLSbiplot1 plsdepot plsdof plsgenomics plspm plspm.formula plspolychaos plsRbeta plsRcox plsRglm plsVarSel plumber plumbr plusser plyr PMA pmc pmclust PMCMR pmg pmhtutorial pMineR pmml pmmlTransformations pnmtrem pnn pocrm pogit PogromcyDanych pointRes PoisBinNonNor PoisBinOrd PoisBinOrdNonNor PoisBinOrdNor poisDoubleSamp PoisNonNor PoisNor poLCA polidata pollen pollstR polmineR polyapost polychaosbasics polycor polyCub polyfreqs polysat polySegratioMM polywog pomp pop popdemo PopED popEpi PopGenome PopGenReport popgraph popKorn poplite poppr popprxl popRange popReconstruct popsom PopVar portes portfolio PortfolioAnalytics PortfolioEffectEstim PortfolioEffectHFT portfolioSim PortRisk postGIStools PottsUtils PoweR powerbydesign powerGWASinteraction poweRlaw powerplus powerSurvEpi PP ppcor ppiPre ppls ppmlasso PPtree PPtreeViz pqantimalarials prabclus PracTools praise prc prcbench prclust precintcon precrec PredictABEL predictionInterval predictmeans PredictTestbench prefmod PreKnitPostHTMLRender PReMiuM prepdat preprocomb preprosim preproviz prereg presens PResiduals preText prettydoc prettymapr prettyunits prevalence PrevMap prevR pRF prim primefactr primer primerTree primes PRIMsrc prism PRISMA PRISMAstatement prLogistic prob probFDA ProbForecastGOP ProbitSpatial pROC processcontrol ProDenICA prodigenr prodlim productplots prof.tree PROFANCY ProfileLikelihood profileModel profileR profilr ProFit profmem profr proftools profvis progenyClust ProgGUIinR prognosticROC progress ProjectTemplate ProNet propagate proportion propr prospectr ProteinDescriptors proteomicdesign proteomics protiq protoclass protolite proton prototest protr ProTrackR protViz provenance proxy prozor PRROC pryr PSAboot PSAgraphics PSCBS pscl pscore psd psData pse pseval PSF psgp psidR PSM pssm PST PsumtSim psych psychometric psychomix psychotools psychotree psyphy psytabs PTE ptinpoly ptstem ptw PTXQC ptycho PubBias pubmed.mineR PubMedWordcloud pubprint pulsar pumilioR PurBayes purge purrr pushoverr PVAClone pvar pvclass pvclust pvrank pvsR PWD pweight pwr PwrGSD pwrRasch pxR pxweb pycno pystr PythonInR qat QCA QCAGUI QCApro QCAtools qcc qclust qcr QCSimulator qdap qdapRegex qdapTools QFASA qfasar qgraph qgtools qha QICD qicharts qiimer qlcData qlcMatrix qlcVisualize qmap qmethod QoLR qpcR QPot qqman qqtest qqvases QRAGadget qrage qrcm qrcode QRegVCM qrencoder qrfactor qrjoint qrLMM QRM qrmdata qrmtools qrNLMM qtl qtlbook qtlc qtlcharts qtlhot qtlnet QTLRel Qtools qtutils QuACN quadmesh quadrupen QualInt qualityTools qualpalr qualV qualvar Quandl quantable quantchem quanteda quantification QuantifQuantile quantmod QuantPsyc quantreg quantreg.nonpar quantregForest quantregGrowth quantspec QuantumClone QuasiSeq questionr quhomology quickmapr quickpsy quickReg quint quipu qut qVarSel qvcalc QVM qwraps2 R.cache R.devices R.filesets R.huge r.jive R.matlab R.rsp R.utils R0 R2admb R2BayesX r2d2 r2dRue r2glmm R2GUESS R2HTML R2jags R2MLwiN R2OpenBUGS R2STATS R2SWF R2WinBUGS R330 R4CouchDB r4ss R6 R6Frame race RAD RADami RADanalysis radarchart radiant radiant.basics radiant.data radiant.design radiant.model radiant.multivariate radiomics radir RadOnc rags2ridges ragt2ridges ragtop rainbow raincpc rainfreq rakeR rAltmetric RAM Ramble Rambo rAmCharts ramify RAMpath ramps ramsvm randNames random random.polychor.pa randomcoloR RandomFields randomForest randomForest.ddR randomForestSRC randomGLM randomizationInference randomizeR randomizr randomLCA randomNames randomUniformForest randstr RandVar rangeBuilder rangeMapper rangemodelR ranger RankAggreg Rankcluster rankdist rankFD rankhazard RANN RANN.L1 RapidPolygonLookup RAPIDR RAppArmor rappdirs rapport rapportools rareGE rareNMtests rARPACK rasclass rase raster rasterKernelEstimates rasterVis rattle rAvis raw rbamtools rBayesianOptimization rbefdata Rbent rbgm rbhl RbioRXN rbison Rbitcoin Rblpapi rbmn rbokeh Rborist rbounds RBPcurve rbugs rbundler RCA RCALI rcanvec rCarto rCBA rcbalance rcbsubset rccdates rccmisc rcdk Rcereal rchallenge rchess Rchoice RChronoModel rcicr RClimMAWGEN rClinicalCodes rclinicaltrials RClone Rclusterpp rcmdcheck Rcmdr RcmdrMisc RcmdrPlugin.BCA RcmdrPlugin.BiclustGUI RcmdrPlugin.coin RcmdrPlugin.depthTools RcmdrPlugin.DoE RcmdrPlugin.doex RcmdrPlugin.EACSPIR RcmdrPlugin.EBM RcmdrPlugin.EcoVirtual RcmdrPlugin.epack RcmdrPlugin.Export RcmdrPlugin.EZR RcmdrPlugin.FactoMineR RcmdrPlugin.FuzzyClust RcmdrPlugin.GWRM RcmdrPlugin.HH RcmdrPlugin.IPSUR RcmdrPlugin.KMggplot2 RcmdrPlugin.lfstat RcmdrPlugin.MA RcmdrPlugin.mosaic RcmdrPlugin.MPAStats RcmdrPlugin.NMBU RcmdrPlugin.orloca RcmdrPlugin.PcaRobust RcmdrPlugin.plotByGroup RcmdrPlugin.pointG RcmdrPlugin.qual RcmdrPlugin.RMTCJags RcmdrPlugin.ROC RcmdrPlugin.sampling RcmdrPlugin.SCDA RcmdrPlugin.seeg RcmdrPlugin.SLC RcmdrPlugin.SM RcmdrPlugin.sos RcmdrPlugin.steepness RcmdrPlugin.survival RcmdrPlugin.TeachingDemos RcmdrPlugin.temis RcmdrPlugin.UCA RCMIP5 Rcolombos rcompanion rcorpora RCPmod RcppAnnoy RcppAPT RcppArmadillo RcppBDT RcppCCTZ RcppClassic RcppClassicExamples RcppCNPy RcppDE RcppDL RcppEigen RcppExamples RcppFaddeeva RcppGetconf RcppGSL RcppHoney RcppMLPACK RcppNumerical RcppOctave RcppParallel RcppProgress RcppRedis RcppRoll RcppShark RcppSMC RcppStreams RcppTOML RcppXts RcppZiggurat rcqp RCriteo rcrossref rcrypt rcss rCUR Rd2roxygen RDataCanvas rdatacite rdatamarket rdd rddtools rDEA rdefra rdian Rdice RDIDQ Rdistance RDML rDNA rDNAse rdnb RDocumentation rdomains rdrop2 rdryad RDS Rdsm RDSTK rDVR readbitmap readbulk reader readMzXmlData readODS readr readstata13 readxl RealVAMS reams Rearrangement REBayes rebird rebmix rebus rebus.base rebus.datetimes rebus.numbers rebus.unicode RECA recexcavAAR rechonest recluster recmap recoder recommenderlab recommenderlabBX recommenderlabJester reconstructr RecordLinkage recosystem red reda REdaS redcapAPI REDCapR RedditExtractoR redist redland rEDM REEMtree referenceIntervals RefFreeEWAS refGenome refimpact RefManageR refnr refset refund refund.shiny refund.wave regclass reGenotyper regexPipes regexr reglogit regress RegressionFactory regRSM regsel regsem rehh reinstallr relaimpo relations relaxnet reldist relevent ReliabilityTheory relimp relMix relSim relsurv RelValAnalysis rem rematch remix rEMM remote remoter remotes REndo Renext RenextGUI rentrez Reol ReorderCluster RepeatABEL RepeatedHighDim repijson replicatedpp2w replicationInterval repmis repo repolr ReporteRs reportr reportRx reports reporttools REPPlab repr represtools reproducer REPTILE request rerddap REREFACT reReg resemble reshape reshape2 reshapeGUI ResourceSelection respirometry REST restimizeapi restlos resumer rethinker retistruct retrosheet reutils reval revealedPrefs revealjs RevEcoR rex Rexperigen rexpokit Rfacebook Rfast RFc RFGLS RFgroove rfigshare RFinanceYJ RFinfer rfishbase rfisheries Rfit rflann RFLPtools RFmarkerDetector rfml rfoaas RFOC RForcecom rfordummies rforensicbatwing RFormatter rfPermute rFTRLProximal rfUtilities RGA rgam rgbif RGCCA rgdal RGENERATE RGENERATEPREC rgeolocate rgeos rgeospatialquality rgexf rggobi rgho rgl rglobi rglwidget RGoogleAnalytics RGoogleAnalyticsPremium RGoogleFit RgoogleMaps rgp rgpui rgr RGraphics rgrass7 rGroovy RGtk2Extras RH2 rhandsontable rHealthDataGov RHRV riceware rich ridigbio riem RImageJROI RImagePalette rinat RInside rintrojs rio rioja Rip46 ripa riskRegression risksetROC Ritc rite ritis RItools riv riverdist Rivivc rivr rjade RJafroc rjags RJDBC RJSDMX rjstat RKEEL RKEELjars rknn Rknots rkvo rLakeAnalyzer rleafmap Rlibeemd rLiDAR Rlinkedin rlist Rlof RLogicalOps RLRsim RLumModel RLumShiny RM.weights RM2 Rmalschains rmapshaper RmarineHeatWaves RMark rmarkdown rmatio RMAWGEN rmcfs rmcorr rmdformats rmdHelpers rmdshower RMediation rmetasim rmgarch rminer Rmisc Rmixmod RmixmodCombi RMixpanel rmngb RMOA Rmosek Rmpfr RMRAINGEN rms RMThreshold rmumps RMySQL rnaseqWrapper RnavGraph RnavGraphImageData rnbn RNCEP rncl RndTexExams RNeo4j rnetcarto RNetLogo RNewsflow RNeXML rngtools RNHANES RNifti RNiftyReg rNMF rnn rnoaa rNOMADS rnpn rnrfa roahd ROAuth RobAStBase robCompositions robcor robfilter RobLox RobLoxBioC robmed robotstxt RobPer robreg3S RobRex RObsDat robust RobustAFT robustbase robustDA RobustEM robustfa robustgam RobustGaSP robustHD robustlmm robustloggamma robustrank robustrao robustreg robustvarComp robustX ROC632 rocc roccv rockchalk RockFab rococo ROCR ROCS ROCt Rodam RODBCDBI RODBCext rodd rodham RODM ROI.plugin.ecos ROI.plugin.nloptr ROI.plugin.scs roll rollbar rollply ROMIplot rootWishart ropenaq ROpenFIGI ROpenWeatherMap ROptEst ROptEstOld ROptimizely ROptRegTS ROracle rorcid rorutadis ROSE rosetteApi rosm rotationForest rotations Rothermel rotl roughrf RoughSets roxygen2 RPANDA rpanel rpart rpart.plot rpart.utils rpartitions rpartScore rpcdsearch RPCLR Rpdb rpdo RPEnsemble rpf rpg rphast Rphylip Rphylopars rpinterest rpivotTable rPlant rplexos rplos rplotengine RPMM rpn rpnf rportfolios rpostgis RPostgreSQL RPPanalyzer rpql rPref RPresto rprev rprime rprintf rprojroot RProtoBuf rpsftm RPtests rptR rpubchem RPublica RPyGeo RQDA RQGIS rqPen Rquake RQuantLib rr rRAP rrcov rrcovHD rrcovNA rrecsys rredlist RRedshiftSQL rrefine rrepast RRF rriskDistributions rrlda RRreg RRTCS RSA rsae RSAGA Rsampletrees Rsampling RSAP rSARP rsatscan RSauceLabs RSCABS rscimark rsconnect rscopus rscorecard RSDA rsdmx RSeed RSelenium rsem RSentiment rSFA rsgcc rsggm RSiena rsig RsimMosaic RSiteCatalyst RSKC rslp rslurm rsm RSMET rsml RSNNS rsnps RSNPset RSocrata Rsomoclu rspa rSPACE RSpectra RSPS rsq RSQLite RSQLServer Rssa RSSL rstack rstackdeque rstan rstanarm rstatscn RStoolbox RStorm rstpm2 RStripe rstudioapi rsunlight RSurveillance RSurvey rsvd rsvg rtable rTableICC RTDE rtdists rtematres Rtextrankr RTextTools rtf rtfbs rticles rtide rtimes rtip rtk rtkore rtkpp RTOMO rtop RTriangle rts Rtsne rtson RtutoR rtweet rtype rtypeform Ruchardet rucm rugarch rUnemploymentData runittotestthat runjags RunuranGUI rusda rust RVAideMemoire Rvcg rvcheck rversions rvertnet rvest RVFam rvg rvgtest RVideoPoker RViennaCL RVowpalWabbit RVPedigree RVsharing RVtests rWBclimate RWBP RWebLogo RWeka rwfec RWiener rwirelesscom rworldmap rworldxtra rwty rwunderground RxCEcolInf RxnSim RxODE Ryacas RYandexTranslate ryouready rYoutheria rysgran Rz RZabbix s2dverification s4vd saasCNV saccades SACOBRA sadists sads sae sae2 SAENET saeRobust saeSim SafeQuant SAGA sAIC SALES SALTSampler SAMM SamplerCompare sampleSelection samplesize4surveys sampling samplingbook SamplingStrata sampSurf samr SAMUR SAMURAI sand sandwich sankey sapa SASmixed SASxport satellite saturnin SAVE saws sbfc sBIC sbmSDP SBRect sbrl SBSA sbtools sca Scale scales scalreg scam scanstatistics scape scaRabee scatterD3 SCBmeanfd scdhlm scenario SCEPtER SCEPtERbinary SCGLR SchemaOnRead scholar schoRsch schumaker SCI scidb SciencesPo scientoText SciViews sclero scmamp score scorer scoring scoringRules ScottKnottESD scphaser ScrabbleScore ScreenClean scrime scrm scrubr scrypt scs sda SDaA sdcMicro sdcMicroGUI sdcTable sdcTarget SDD SDDE sde SDEFSR sdm SDMPlay SDMTools sdmvspecies sdPrior SDraw sdwd seacarb searchable searchConsoleR seas season seasonal seawaveQ SEchart SECP secr secrdesign secrlinear seeclickfixr seeg SEERaBomb seewave seg segmag seismicRoll sejmRP SEL selection selectiveInference selectMeta selectr selectspm SeleMix seleniumPipes selfea selfingTree SelvarMix sem semdiag semds semGOF semiArtificial SemiCompRisks SEMID SemiMarkov SemiPar SemiParBIVProbit SemiParSampleSel semisupKernelPCA semPlot semPLS semsfa semTools sensiPhy sensitivity sensitivityPStrat SensMixed SensoMineR sensory sensR SenSrivastava SensusR sentimentr separationplot seqCBS seqDesign SeqFeatR SeqGrapheR seqHMM seqinr SeqMADE seqMeta seqminer sequences seriation seroincidence servr sesem SetMethods SetRank sets setter settings sExtinct sfc sFFLHD sfinx sfsmisc sft SGCS sgd sglasso sglOptim sglr SGP sGPCA SGPdata sgPLS sgr sgt shades ShapeChange ShapePattern shapeR shapes ShapeSelectForest SharpeR sharpeRratio sharpshootR sharx shazam SHELF shiny shinyAce shinybootstrap2 shinyBS shinydashboard shinyDND shinyFiles ShinyItemAnalysis shinyjs shinyLP shinyRGL shinystan shinythemes shinyTime shinytoastr shinyTree SHLR shock shopifyr shotGroups showtext showtextdb shp2graph shrink siar SIBER SID sideChannelAttack SIDES sidier sigloc sigmoid signal signalHsmm SigTree SII Sim.DiffProc simba simboot simcausal SimComp SimCorMultRes SimDesign simecol simex simexaft simFrame SimHaz SimInf simLife simmer simmr SIMMS simMSM simPATHy simPH simpleboot simplegraph simpleNeural simpleRCache SimpleTable simplr simPop Simpsons simputation simr SimRAD SimReg simrel SiMRiv simsalapar simsem simstudy simTool SimuChemPC simulator sinaplot siplab sirad siRSM sirt SIS sisal sisus sisVIVE sitar sitmo sivipm SixSigma SizeEstimation sizeMat SiZer sjmisc sjPlot sjstats skeleSim skellam SkewHyperbolic Skillings.Mack skmeans sla slackr Sleuth2 Sleuth3 slfm SLOPE slp sm smaa smacof smacpod smallarea smam smapr smart SmarterPoland SmartSifter smatr smbinning smcfcs smcure smcUtils smdc smds sme smerc SMFI5 smint SMIR Smisc SmithWilsonYieldCurve SML SMNCensReg smnet smoof smooth smoothAPC smoother SmoothHazard smoothHR smoothie smoothmest smoothSurv smoothtail smotefamily SMPracticals sms smss sna SnakeCharmR snht snipEM snowboot snp.plotter SNPassoc snpEnrichment snplist sNPLS SNPMClust snpRF snpStatsWriter sns SNscan SNSequate soc.ca SocialMediaLab SocialMediaMineR SocialNetworks SOD sodavis SODC sodium Sofi softImpute SOIL soil.spec soilDB soilphysics soilprofile SoilR soiltexture soilwater solaR solarius solr solrium soma SOMbrero sommer somplot soobench sophisthse SOPIE soql SOR SortableHTMLTables sortinghat sorvi sos sos4R sotkanet soundecology SoundexBR SOUP sourceR sourcetools SoyNAM sp sp23design sp500SlidingWindow spa spaa SPACECAP spaceExt spacejam spacetime spacodiR spacom spAddins SpaDES spaero spam spaMM spanr spareserver spark sparklyr sparkTable sparr sparseBC sparsebn sparsebnUtils sparsediscrim SparseFactorAnalysis SparseGrid sparseHessianFD sparseLDA SparseLearner sparseLTSEigen sparseMVN sparsenet sparsereg sparsesvd SparseTSCGM sparsevar spartan spass spatgraphs spatial spatial.gev.bma spatial.tools spatialClust spatialEco SpatialEpi SpatialExtremes spatialfil spatialnbda SpatialNP SpatialPack SpatialPosition spatialprobit spatialsegregation spatialTailDep SpatialTools SpatialVx SpatioTemporal SpatMCA SpatPCA SpATS spatstat spatsurv spbabel spBayes spBayesSurv spcadjust SPCALDA spcosa spd spdep spdplyr spduration spdynmod SpecHelpers speciesgeocodeR SpeciesMix specificity specmine spectral spectral.methods SpectralMap spectrino SPEDInstabR speedglm spef speff2trial SPEI sperich sperrorest spex spfrontier spgrass6 spgwr sphereplot SphericalCubature SpherWave sphet spider spiders SPIGA spikes spikeslab spikeSlabGAM splancs splines2 splitfngr splitstackshape splm spls spm12r spnet spocc SPODT SportsAnalytics SPOT spray SPREDA SPreFuGED sprex sprint sprinter sprm spsann spselect spsi SPSL spsmooth spsurvey spTDyn spTest spThin spTimer sptm spuRs sqldf sqliter SqlRender sqlutils SQN squid SRCS srd srvyr ss3sim ssc sscor SSDforR SSDM sSDR ssfa ssfit ssh.utils ssizeRNA SSL ssmn ssmrob SSN sspse SSRA SSrat SSRMST sss SSsimple ssym st stabledist StableEstim stablespec stabs Stack stacomirtools StagedChoiceSplineMix stagePop stam StAMPP STAND StanHeaders STAR starma stashR statar statcheck statcomp StatDA statebins stationaRy StatMatch StatMeasures StatMethRank statmod statnet statnetWeb sta devtools::revdep( "Rcpp", recursive = TRUE) 684473.34 %
  5. 5. *.h 94390 *.cpp 5575 99965 *.R 3134
  6. 6. motivation
  7. 7. int add( int a, int b ){ return a + b ; }
  8. 8. C/R API
  9. 9. int add( int a, int b ){ return a + b ; } #include <R.h> #include <Rinternals.h> SEXP add_fun( SEXP a_, SEXP b_ ){ int a = INTEGER(a_)[0], b = INTEGER(b_)[0] ; int res = add( a, b ) ; SEXP result = PROTECT(allocVector(INTSXP, 1) ) ; INTEGER(result)[0] = res ; UNPROTECT(1) ; return result ; }
  10. 10. $ R CMD SHLIB add.c clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG - I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -fPIC -Wall -mtune=core2 -g -O2 -c add.c -o add.o clang -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/ Frameworks/R.framework/Resources/lib -L/usr/local/lib -o add.so add.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework - Wl,CoreFoundation > dyn.load( "add.so" ) > add <- function(a, b){ + .Call( "add_c", a, b ) + } > add( 33L, 9L ) [1] 42 > > add( 33, 9 ) Error in add(33, 9) : INTEGER() can only be applied to a 'integer', not a 'double'
  11. 11. Rcpp
  12. 12. #include <Rcpp.h> // [[Rcpp::export]] int add( int a, int b ){ return a + b ; } > sourceCpp( "add.cpp" ) > add( 17L, 25L ) [1] 42 > add( 17, 25 ) [1] 42
  13. 13. #include <Rcpp.h> using namespace Rcpp // [[Rcpp::export]] double sum_cpp( NumericVector x){ int n = x.size() ; double res = 0.0 ; for( int i=0; i<n; i++){ res += x[i] ; } return res ; }
  14. 14. sugar
  15. 15. pdistR <- function(x, ys) { sqrt((x - ys) ^ 2) }
  16. 16. sugar NumericVector pdistCpp2( double x, NumericVector ys){ return sqrt( pow( x - ys, 2 ) ) ; } NumericVector pdistCpp( double x, NumericVector ys) { int n = ys.size() ; NumericVector res(n) ; for(int i=0; i<n; i++){ res[i] = sqrt( pow( x-ys[i], 2.0 ) ; } return res ; }
  17. 17. modules
  18. 18. class Kittens { public: Kittens( int n_ ) : n(n_) ; void meow() { ... }; void purr() { ... }; int n ; } ; RCPP_MODULE(Cats){ class_<Kittens>( "Kittens" ) .constructor<int>() .field( "n", &Kittens::n ) .method( "meow", &Kittens::meow ) .method( "purr", &Kittens::purr ) ; } kittens <- new( Kittens, 10 ) kittens$n kittens$meow() kittens$purr()
  19. 19. dependency problem
  20. 20. Rcpp n + 2 core sugar modules core modules mypkg developper Rcpp n +1 core sugar modules core modules Rcpp n core sugar modules core modules cran mypkg
  21. 21. Rcpp n + 2 core sugar modules core modules mypkg developper Rcpp n +1 core sugar modules core modules Rcpp n core sugar modules core modules cran user1 mypkg 🔥
  22. 22. Rcpp n + 2 core sugar modules core modules mypkg developper Rcpp n +1 core sugar modules core modules Rcpp n core sugar modules core modules cran user1 user2 mypkg 🔥 ✔
  23. 23. Rcpp n + 2 core sugar modules core modules mypkg developper Rcpp n +1 core sugar modules core modules Rcpp n core sugar modules core modules cran user1 user2 mypkg user3 🔥 ✔ 🔥
  24. 24. proposal
  25. 25. • C++ = C++11 • header only / no runtime dependency • lightweight & modular Rcpp11
  26. 26. Rcpp11 Rcpplightweight
  27. 27. Rcpp11 sugar modules ... ... modular
  28. 28. Rcpp11 sugar modules Rcpp11 sugar modules Rcpp11 sugar modules mypkg2 Rcpp11 mypkg1 Rcpp11 sugardev1 dev2
  29. 29. why C++11
  30. 30. uniform initialization NumericVector x = { 1.0, 2.3, 3.3 } ;
  31. 31. for double sum( NumericVector x ){ double res = 0.0 ; for( double d: x) res += d ; return res ; }
  32. 32. lambdas NumericVector pdist( double x, NumericVector ys ){ return sapply( ys, [&x]( double y ){ return sqrt( pow(x-y, 2.0) ) ; }) ; }
  33. 33. auto NumericVector pdist( double x, NumericVector ys ){ auto fun = [&x]( double y ){ return sqrt( pow(x-y, 2.0) ) ; } ; return sapply( ys, fun) ; }
  34. 34. romain@purrple.cat @romain_francois ?

×