A General-Purpose Package for Dynamic Report Generation in R

Provides a general-purpose tool for dynamic report generation in R using Literate Programming techniques.

The R package knitr is a general-purpose literate programming engine, with lightweight API's designed to give users full control of the output without heavy coding work. It combines many features into one package with slight tweaks motivated from my everyday use of Sweave. See the package homepage for details and examples. See FAQ's for a list of frequently asked questions (including where to ask questions).

You can install the stable version on CRAN:

install.packages('knitr', dependencies = TRUE)

You can also install the development version from XRAN, which provides daily build of knitr:

# update all existing packages first
update.packages(ask = FALSE, repos = 'http://cran.rstudio.org')
install.packages('knitr', repos = c('http://yihui.name/xran', 'http://cran.rstudio.org'))

Or use devtools to install the development version from Github:

devtools::install_github('yihui/knitr', build_vignettes = TRUE)

While Sweave and related add-on packages like cacheSweave and pgfSweave are fairly good engines for literate programming in R, but I often feel my hands are tied, for example:

  • I stared at the source code of Sweave and wished for hundreds of times that if only I could easily insert [width=.8\textwidth] between \includegraphics and {my-plot.pdf} (the official way in Sweave is \setkeys{Gin} but it is setting a global width, which is unrealistic since we often have to set widths individually; yes, you can use \setkeys{Gin} for many times, but why not just provide an option for each chunk?)
  • I wished for many times that if only I could use graphics devices other than PDF and postscript; now the dream has come true in the official R, but what I was hoping for was an option as simple as dev = 'png' or dev = 'CairoJPEG'
  • I wished multiple plots in a code chunk could be recorded instead of only the last one
  • I wished there was a way to round the numbers in \Sexpr{} other than writing expressions like \Sexpr{round(x, 3)} for each single \Sexpr{}
  • I wished I did not have to print() plots from ggplot2 and a simple qplot(x, y) would just give me a plot in Sweave
  • I wished users would never need instructions on Sweave.sty or run into troubles due to the fact that LaTeX cannot find Sweave.sty
  • I wished cacheSweave could print the results of a code chunk even if it was cached
  • I wished brew could support graphics
  • I wished R2HTML could support R code syntax highlighting
  • ...

The package knitr was designed to give the user access to every part of the process of dealing with a literate programming document, so there is no need to hack at any core components if you want more freedom. I have gone through the source code of pgfSweave and cacheSweave for a couple of times, and I often feel uncomfortable with the large amount of code copied from official R, especially when R has a new version released (I will begin to worry if the add-on packages are still up-to-date with the official Sweave).


If options are not explicitly specified, knitr will try to guess reasonable default settings. A few manuals are available such as the main manual, and the graphics manual. For a more organized reference, see the knitr book.

This package is free and open source software, licensed under GPL.


Reference manual

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


1.15.1 by Yihui Xie, 3 months ago


Report a bug at https://github.com/yihui/knitr/issues

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

Authors: Yihui Xie [aut, cre], Adam Vogt [ctb], Alastair Andrew [ctb], Alex Zvoleff [ctb], Andre Simon [ctb] (the CSS files under inst/themes/ were derived from the Highlight package http://www.andre-simon.de), Aron Atkins [ctb], Aaron Wolen [ctb], Ashley Manton [ctb], Ben Baumer [ctb], Brian Diggs [ctb], Cassio Pereira [ctb], David Robinson [ctb], Donald Arseneau [ctb, cph] (the framed package at inst/misc/framed.sty), Doug Hemken [ctb], Duncan Murdoch [ctb], Fabian Hirschmann [ctb], Fitch Simeon [ctb], Frank E Harrell Jr [ctb] (the Sweavel package at inst/misc/Sweavel.sty), Gregoire Detrez [ctb], Hadley Wickham [ctb], Heewon Jeon [ctb], Henrik Bengtsson [ctb], Hiroaki Yutani [ctb], Jake Burkhead [ctb], James Manton [ctb], Jared Lander [ctb], Jason Punyon [ctb], Jeff Arnold [ctb], Jeremy Ashkenas [ctb, cph] (the CSS file at inst/misc/docco-classic.css), Jeremy Stephens [ctb], Jim Hester [ctb], Joe Cheng [ctb], Johannes Ranke [ctb], John Honaker [ctb], John Muschelli [ctb], Jonathan Keane [ctb], JJ Allaire [ctb], Johan Toloe [ctb], Joseph Larmarange [ctb], Julien Barnier [ctb], Kaiyin Zhong [ctb], Kamil Slowikowski [ctb], Kevin K. Smith [ctb], Kirill Mueller [ctb], Kohske Takahashi [ctb], Michael Friendly [ctb], Michal Bojanowski [ctb], Michel Kuhlmann [ctb], Nacho Caballero [ctb], Nick Salkowski [ctb], Noam Ross [ctb], Qiang Li [ctb], Ramnath Vaidyanathan [ctb], Richard Cotton [ctb], Robert Krzyzanowski [ctb], Romain Francois [ctb], Scott Kostyshak [ctb], Sebastian Meyer [ctb], Sietse Brouwer [ctb], Simon de Bernard [ctb], Taiyun Wei [ctb], Thibaut Assus [ctb], Thibaut Lamadon [ctb], Thomas Leeper [ctb], Tom Torsney-Weir [ctb], Trevor Davis [ctb], Viktoras Veitas [ctb], Weicheng Zhu [ctb], Wush Wu [ctb], Zachary Foster [ctb]

Documentation:   PDF Manual  

Task views: Reproducible Research

GPL license

Imports evaluate, digest, highr, markdown, stringr, yaml, methods, tools

Suggests formatR, testit, rgl, codetools, rmarkdown, htmlwidgets, webshot, tikzDevice, png, jpeg, XML, RCurl, DBI, tibble

System requirements: Package vignettes based on R Markdown v2 require Pandoc (http://pandoc.org). The function rst2pdf() and vignettes based on reStructuredText require rst2pdf (https://github.com/rst2pdf/rst2pdf).

Imported by ADPclust, BEQI2, FactoMineR, Gmisc, Greg, Kmisc, MendelianRandomization, PSF, PreKnitPostHTMLRender, RcppFaddeeva, ReporteRs, adapr, advclust, assertive, blkbox, bookdown, cleanEHR, compareGroups, condformat, condir, confidence, cooccurNet, cystiSim, easyformatr, ezknitr, flexdashboard, formattable, furniture, gSEM, gglogo, gistr, htmlTable, inlmisc, interAdapt, kfigr, knitLatex, knitrBootstrap, lazyrmd, liftr, lintr, manipulateWidget, multisensi, ncappc, opencpu, optiRum, pixiedust, qmethod, qwraps2, rAmCharts, rNMF, radiant.data, rchallenge, reprex, rgl, rite, rleafmap, rmarkdown, rmdformats, rtable, rticles, sdcMicro, survMisc, tint, tufte, tutorial, ucbthesis, umx, userfriendlyscience, vote, xaringan.

Depended on by BrailleR, EasyHTMLReport, OutbreakTools, PopGenReport, SOMbrero, rmdHelpers, rrecsys, spThin, svSweave, tufterhandout.

Suggested by ABC.RAP, ABHgenotypeR, ACEt, ACSNMineR, ALA4R, AMModels, ANLP, ANOM, ARPobservation, ARTool, ASMap, ASSISTant, AUtests, AbSim, AmyloGram, AncestryMapper, Anthropometry, ArgumentCheck, AutoDeskR, AutoModel, AzureML, BACA, BAS, BCSub, BCellMA, BIEN, BIGDAWG, BIOMASS, BTR, BTYD, BTYDplus, BaTFLED3D, BacArena, BatchGetSymbols, BayesCombo, BayesFactor, BayesMAMS, BayesSingleSub, BayesianNetwork, BayesianTools, Bchron, Bclim, BeviMed, BlandAltmanLeh, CHNOSZ, CPBayes, CRF, Causata, ChainLadder, ChemoSpec, Ckmeans.1d.dp, ClustVarLV, ClusterR, CoFRA, ConR, CopulaDTA, CorrectOverloadedPeaks, Countr, Crossover, CytobankAPI, D2C, DAAG, DBI, DBItest, DCG, DESP, DEploid, DGCA, DHARMa, DLMtool, DNAprofiles, DOT, DRR, DSsim, DT, DVHmetrics, Dark, DataExplorer, DeLorean, DiagrammeR, DiffusionRgqd, DiffusionRimp, DiffusionRjgqd, DiversityOccupancy, DrBats, EBASS, EBglmnet, ECOSolveR, ECctmc, ECharts2Shiny, EEM, EFDR, EGRET, EGRETci, EML, EMbC, ENMeval, ESGtoolkit, Ecfun, EcoSimR, EfficientMaxEigenpair, EmpiricalCalibration, EpiBayes, EpiModel, ExomeDepth, ExtDist, FAOSTAT, FFTrees, FIT, FSA, FeatureHashing, ForestTools, FunChisq, FuzzyAHP, FuzzyNumbers, GA, GCalignR, GESE, GEint, GFD, GMCM, GOplot, GPareto, GSODR, GUILDS, GenCAT, GeneralTree, GeneticSubsetter, GenomicTools, GeoLight, GerminaR, GetHFData, GetTDData, GetoptLong, GiRaF, GlobalOptions, GoodmanKruskal, HARtools, HHG, HIBPwned, HSAR, HTSSIP, HWxtest, HarmonicRegression, HighDimOut, HistData, HiveR, Hmisc, HydeNet, IAPWS95, ICtest, IMIFA, IRISSeismic, IRTpp, ISOpureR, IalsaSynthesis, IncucyteDRC, Information, InformationValue, InformativeCensoring, JacobiEigen, Jdmbs, KFAS, KODAMA, KernelKnn, KoNLP, KraljicMatrix, LBSPR, LDAvis, LEANR, LEGIT, LTRCtrees, LW1949, LendingClub, LexisPlotR, LocFDRPois, LogisticDx, MADPop, MALDIquant, MALDIquantForeign, MANOVA.RM, MAVE, MBHdesign, MCMCvis, MDMR, MEGENA, MIAmaxent, MInt, MLID, MLPUGS, MM2S, MM2Sdata, MPSEM, MPTinR, MSCMT, MVLM, MVN, MakefileR, MarkowitzR, MaxentVariableSelection, MazamaSpatialUtils, MeanShift, MetProc, MetaCycle, MetaIntegrator, MixSIAR, Momocs, MonoPhy, MortalitySmooth, MullerPlot, MultiBD, NAM, NEArender, NFP, NIPTeR, NMF, NNLM, NNTbiomarker, NORTARA, NetRep, NetWeaver, NlsyLinks, NoiseFiltersR, OECD, OLScurve, OasisR, OneR, OpenImageR, OpenML, OrgMassSpecR, OrthoPanels, PAC, PANICr, PDQutils, PGRdup, PKNCA, PP, PRISMAstatement, PSAboot, PTXQC, ParallelForest, PepSAVIms, Perc, PhylogeneticEM, PopED, PowerUpR, PredPsych, PredictTestbench, PrevMap, ProFit, ProliferativeIndex, QFASA, QICD, QoLR, QuantumClone, R.rsp, R2admb, R6, R6Frame, RAC, RADanalysis, RCMIP5, RClone, RDML, RDota2, REBayes, REDCapR, REST, RFinfer, RGA, RHRV, RJafroc, RNHANES, RNeXML, RNewsflow, RODBCext, RQGIS, RRTCS, RRreg, RSAGA, RSNPset, RSQLite, RSelenium, RSentiment, RSpectra, RVPedigree, RWildbook, Radviz, Ramble, Rblpapi, Rcereal, Rcmdr, RcmdrPlugin.BiclustGUI, RcmdrPlugin.FuzzyClust, RcmdrPlugin.KMggplot2, RcmdrPlugin.MA, RcppHoney, RcppNumerical, RcppOctave, RcppParallel, RcppShark, Rd2roxygen, Rdice, Rdistance, ReIns, RefManageR, RevEcoR, Rknots, RmarineHeatWaves, RndTexExams, Rodam, Rsampling, Rtextrankr, RxODE, SAGA, SALTSampler, SCGLR, SDEFSR, SHELF, SIBER, SIMMS, SLOPE, SSRMST, STEPCAM, SchemaOnRead, SciencesPo, SharpeR, Sim.DiffProc, SimDesign, SimPhe, SimReg, Sleuth2, Sleuth3, SpaDES, SpatialPosition, SqlRender, StMoMo, Strategy, SubVis, SuperExactTest, SurvRank, SwarmSVM, TANDEM, TCGA2STAT, TESS, TITAN2, TLMoments, TOSTER, TSMining, TSTr, Tcomp, TeachBayes, ThreeArmedTrials, TiddlyWikiR, TippingPoint, Tlasso, TopKLists, TreeBUGS, TropFishR, TurtleGraphics, UNF, USAboundaries, UpSetR, V8, VARsignR, VSE, VWPre, ViSiElse, WHO, WRS2, WVPlots, WaterML, Wats, WeightedCluster, WiSEBoot, WikidataR, WikipediR, Wmisc, WufooR, XNomial, Zelig, ZeligChoice, ZeligEI, aRxiv, aSPU, aVirtualTwins, abbyyR, acmeR, additivityTests, adegraphics, adespatial, admixturegraph, afex, agridat, ahp, airGR, alakazam, algorithmia, alleHap, alluvial, alm, alphabetr, ameco, amen, analogsea, anim.plots, aoos, aop, apa, apcluster, apex, aplore3, apricom, apsimr, archivist, archivist.github, argparse, arsenal, aspi, assertable, assertr, asymmetry, atsd, attrCUSUM, attribrisk, autoimage, automultinomial, autothresholdr, aws.alexa, awsjavasdk, babar, backShift, backblazer, backpipe, bannerCommenter, base64url, batchtools, bayesAB, bayesGDS, bayesImageS, bayesmeta, bayesplot, bazar, bbmle, bcROCsurface, bcRep, bcpa, bdscale, beanz, bedr, benchmarkme, berryFunctions, bibliometrix, bife, bigQueryR, bigmemory, binman, binomen, bio3d, biogas, biogram, bioimagetools, bioinactivation, biomartr, biorxivr, biotic, biwavelet, bizdays, blscrapeR, bmlm, bnspatial, bnstruct, bodenmiller, bold, boostr, bossMaps, boxr, bpa, bpp, bridgedist, briskaR, brm, brms, broom, brotli, bsplus, bst, bunchr, burnr, bytescircle, cIRT, caRpools, camsRad, camtrapR, captioner, captr, caretEnsemble, carpenter, cartography, cate, cati, causaldrf, causalsens, cbsodataR, ccaPP, ccafs, cda, cdfquantreg, cellWise, cellranger, censusr, checkmate, checkpoint, chipPCR, circlize, ckanr, clarifai, classyfire, cleangeo, cleanr, clifro, climbeR, climwin, clubSandwich, clustRcompaR, clusterhap, clusternomics, clustvarsel, coRanking, coala, cobalt, cocoreg, cocorresp, codingMatrices, codyn, coenocliner, cointReg, cointmonitoR, colf, colorSpec, colorplaner, colourpicker, colr, confSAM, config, convey, copula, corr2D, corrgram, corrplot, corrr, cosinor, countytimezones, countyweather, covmat, covr, cowplot, cowsay, coxphw, crawl, credule, crimelinkage, crtests, crul, crunch, csp, ctmcd, ctmm, ctsem, cubature, curl, curlconverter, cvequality, cycleRtools, d3heatmap, dMod, dagitty, dams, dat, data.table, data.tree, dataRetrieval, datacheckr, dataone, datapack, datapasta, datarobot, datastepr, dbfaker, ddR, ddpcr, deBInfer, decisionSupport, decode, decoder, decompr, deconvolveR, deductive, dendextend, dendrometeR, dendsort, denovolyzeR, densratio, derivmkts, descriptr, desiR, desplot, detzrcr, devRate, devtools, dexter, dggridR, diagis, diagonals, diezeit, diffobj, diffrprojects, diffrprojectswidget, diffusr, digest, discreteRV, diseasemapping, diskImageR, diveMove, dlstats, doRNG, dotwhisker, downsize, dpcR, dplR, dplyr, drLumi, drat, dtwSat, dtwclust, dynamichazard, dynsim, eAnalytics, eHOF, earthtones, easySdcTable, easyVerification, easypackages, easypower, ecb, ecd, eclust, ecoengine, ecospace, ecospat, edarf, edeaR, edfReader, edfun, edgebundleR, edstan, eechidna, eemR, eeptools, ega, elastic, elasticsearchr, elevatr, emojifont, emuR, enigma, enpls, enrichwith, ensembleR, ensurer, enviGCMS, epandist, episensr, episheet, eply, errorizer, esaddle, etl, etma, etseed, eulerr, europepmc, eurostat, eva, evclass, evclust, exams, excel.link, explor, exploreR, expp, exprso, expss, extremeStat, eyelinker, eyetrackingR, ezec, ezsummary, factoextra, fakeR, fastAdaboost, fastJT, fastR, fbar, fdapace, fecR, ffstream, fgpt, fiftystater, filematrix, filesstrings, finreportr, fitbitScraper, fitcoach, fitdistrplus, fitur, fivethirtyeight, fixedTimeEvents, flexsurv, flifo, flowr, flows, fmbasics, fmdates, fmrs, foghorn, forecast, forecastHybrid, forestplot, formatR, fourierin, fpCompare, fractional, frailtySurv, frailtypack, freesurfer, fslr, fulltext, funrar, futureheatwaves, fuzzr, fuzzyjoin, gLRTH, gMCP, gWQS, gamclass, gapmap, gatepoints, gbp, gelnet, gender, genderizeR, geneSLOPE, genemodel, geoaxe, geohash, geojson, geojsonio, geojsonlint, geoknife, geomnet, geoparser, geostatsp, gesis, getCRUCLdata, getPass, getlandsat, ggCompNet, ggExtra, ggRandomForests, ggalt, ggcorrplot, ggdendro, gge, ggenealogy, ggforce, ggfortify, ggguitar, ggimage, ggiraph, ggiraphExtra, ggloop, ggmcmc, ggmosaic, ggnetwork, ggplot2, ggpmisc, ggpolypath, ggpubr, ggraph, ggraptR, ggrepel, ggsci, ggseas, ggspectra, ggswissmaps, ggthemes, ggvis, gitgadget, githubinstall, gitlabr, givitiR, gjam, glarma, glmm, glmmTMB, glmmsr, glmnet, glycanr, gmailr, gmwm, goldi, googleAnalyticsR, googleAuthR, googleCloudStorageR, googleComputeEngineR, googleVis, googlesheets, googleway, goric, gower, gpg, gpuR, graticule, grattan, grex, gridExtra, gridsample, gridsampler, groupdata2, growthcurver, growthrates, grpSLOPE, grpreg, gsDesign, gsEasy, gsrc, guess, gunsales, gutenbergr, gvc, h5, hSDM, hansard, haploR, haplotyper, harvestr, haven, hazus, hddplot, hddtools, hdm, hdnom, hdr, heatmap3, heatmaply, heemod, helsinki, heuristica, hextri, hierband, hierfstat, highSCREEN, highcharter, highlightHTML, highr, hisse, hoardeR, homomorpheR, hot.deck, hpoPlot, hsm, htmltab, htmlwidgets, httpcache, httr, humaniformat, humidity, hunspell, hurricaneexposure, hyfo, hysteresis, iBUGS, iNEXT, icd, icd9, icpsrdata, idem, ids, ie2miscdata, iemisc, iemiscdata, iemisctext, ifaTools, imager, imagine, import, imputeTestbench, inbreedR, incadata, incidence, inctools, inferference, inferr, infuser, inpdfr, inspectr, intercure, intergraph, internetarchive, interplot, intubate, investr, iprior, iptools, irace, irtoys, isdparser, itsadug, jaatha, janitor, jiebaR, jmvcore, joinXL, joineR, joineRML, jose, jqr, jrvFinance, js, jsonlite, jsonvalidate, jtGWAS, jtrans, jug, junr, jwutil, kantorovich, kelvin, keyringr, kitagawa, knitcitations, knockoff, kpcalg, labelled, labelrank, landscapeR, largeVis, lasvmR, latex2exp, lawn, lazyeval, lclGWAS, lctools, ldamatch, ldatuning, leaflet, learningr, lettercase, lfe, lifecontingencies, lightsout, likelihoodAsy, linbin, linear.tools, lineup, lingtypology, link2GI, lintools, liquidSVM, list, littler, lme4, lmem.gwaser, lmem.qtler, lmvar, localsolver, logisticPCA, logitnorm, longpower, loo, loopr, lplyr, lsgl, ltbayes, lubridate, lucid, luzlogr, macleish, maddison, madness, magicfor, magick, magrittr, manhattanly, manifestoR, mapmisc, mapr, mapview, marinespeed, markdown, markmyassignment, markophylo, markovchain, mason, matchMulti, matchingMarkets, matchingR, matconv, mateable, matlib, matrixStats, matrixpls, mbbefd, mcglm, mclcar, mclust, mcmcse, mcprofile, mdpeer, mdsr, medicalrisk, medicare, megaptera, memgene, memisc, memo, merTools, metaMix, metacoder, metafolio, metaheur, metaplotr, metaviz, meteR, metricsgraphics, mev, mfe, mglR, mhtboot, mi, mice, micompr, microclass, microplot, miniCRAN, mirt, mirtCAT, miscset, misreport, mixedMem, mixpack, mkin, mldr, mlr, mlsjunkgen, mlt.docreg, mmpf, mnis, mockery, modules, moko, molaR, mongolite, monitoR, monkeylearn, monographaR, moonBook, morse, mosaic, mountainplot, moveHMM, moveWindSpeed, mpe, mplot, mptools, mregions, msaR, msaenet, mscstexta4r, mscsweblm4r, msgl, msgtools, msmtools, mtconnectR, multiplex, multiplyr, multirich, musica, mvMORPH, mvQuad, mvnfast, mvtboost, mwaved, myTAI, mycor, nCal, nLTT, naptime, narray, nat, nat.nblast, ncvreg, ndtv, neat, neighbr, neotoma, nestedRanksTest, netdiffuseR, networkreporting, neurobase, neuroim, nhanesA, nhstplot, nicheROVER, nlsr, nlstimedist, nonlinearTseries, nonnest2, npROCRegression, nplr, nproc, nucim, nullabor, nzelect, oXim, oai, obAnalytics, observer, oce, oddsratio, oem, olctools, ontologyIndex, ontologyPlot, ontologySimilarity, opencage, openssl, openxlsx, opera, optband, optigrab, optimr, optmatch, optparse, ores, orsifronts, osi, osmplotr, pMineR, packcircles, packrat, pacman, padr, pagenum, pageviews, pairsD3, paleomorph, palr, pals, pander, papeR, parsemsf, patchDVI, pathdiagram, pathological, patternplot, pavo, pbo, pca3d, pcaBootPlot, pcadapt, pcev, pdSpecEst, pdftables, peakPick, peakRAM, performanceEstimation, pergola, permPATH, pewdata, pez, phangorn, phonenumber, photobiology, photobiologyInOut, photobiologyLEDs, photobiologyLamps, photobiologyPlants, photobiologyWavebands, phrasemachine, phylobase, phylocanvas, phylopath, physiology, piecewiseSEM, pinbasic, pipeliner, pitchRx, pkgmaker, planar, plater, pleiades, plotROC, plotfunctions, plotluck, plotly, plotwidgets, plspm, pmc, pmmlTransformations, pointRes, polidata, pollen, pollstR, polmineR, polyfreqs, pomp, pop, popEpi, poppr, popprxl, postGIStools, poweRlaw, prcbench, prcr, preText, precrec, predatory, prefeR, prepdat, preprocomb, preprosim, preproviz, prettydoc, prism, prodigenr, proftools, profvis, prophet, propr, prospectr, psd, pseval, ptest, ptstem, pubprint, pulsar, pumilioR, pvar, pweight, pxweb, qdap, qfasar, qicharts, qlcData, qlcMatrix, qqman, qrmdata, qrmtools, qtlcharts, qualpalr, qualtRics, qualvar, quanteda, queuecomputer, quickReg, quickmapr, quipu, r.jive, rCAT, rDVR, rEDM, rKIN, rPref, rWBclimate, rYoutheria, radarchart, radiant, radiomics, ragtop, raincpc, rainfreq, ramcmc, ramify, randgeo, randomizeR, randomizr, rangeMapper, raptr, ratelimitr, raw, rbgm, rbhl, rbison, rbokeh, rccdates, rclinicaltrials, rcrossref, rdatacite, rddtools, rdnb, rdomains, rdpla, rdwd, reactR, readJDX, readr, rebird, recexcavAAR, recmap, reconstructr, recosystem, reda, redland, refset, regtools, rehh, relMix, remoter, rentrez, repijson, replyr, repo, reports, represtools, requireR, rerddap, reval, revdbayes, rex, rfishbase, rfml, rgbif, rgeolocate, rgeospatialquality, rgho, rglobi, rhandsontable, rich, riem, rio, ritis, riverdist, rivr, rjade, rmapshaper, rmcorr, rmetasim, rnaturalearthdata, rnbn, rnetcarto, rngtools, rnn, rnoaa, rnrfa, roahd, robCompositions, robotstxt, rococo, rodeo, rodham, rollply, rope, ropenaq, rorcid, rosetteApi, rotations, rotl, roxygen2, rpcdsearch, rpf, rpivotTable, rplexos, rplos, rpostgisLT, rprev, rprime, rprintf, rprojroot, rpsftm, rptR, rrefine, rrr, rsatscan, rsconnect, rscorecard, rsdmx, rslurm, rsnps, rspa, rstan, rstanarm, rstantools, rsunlight, rsvd, rtdists, rtext, rtimes, rtrie, rtrim, rtweet, rtype, rucm, rucrdtw, runjags, rust, rvertnet, rvest, rwars, rwty, sBIC, sValues, sadists, saeRobust, saeSim, samplesize4surveys, samplingDataCRT, satellite, scanstatistics, scatterD3, scatterpie, scdhlm, scenario, schumaker, scmamp, scoringRules, scphaser, scrm, scrubr, sdm, searchConsoleR, secr, secrdesign, secrlinear, seleniumPipes, semver, sensiPhy, seqHMM, sequences, sequoia, seroincidence, servr, settings, sf, sfinx, shadow, shazam, shiny, shinyFeedback, shinyjs, shinystan, shotGroups, showtext, shrink, sigmoid, sigr, simPATHy, simPH, simTool, simcausal, simmer, simmer.plot, simmr, simputation, simr, simstudy, simulator, sinaplot, sitmo, sitree, sizeMat, sjPlot, sjmisc, skeleSim, skellam, skm, sla, slim, smacof, smapr, smcfcs, smooth, snht, snp.plotter, snpStatsWriter, snplist, sodium, sofa, softImpute, solr, solrium, sommer, sophisthse, sorvi, sotkanet, soundecology, sp500SlidingWindow, spAddins, spacetime, spaero, spark.sas7bdat, sparkline, sparseHessianFD, sparseMVN, sparsebn, sparsevar, spbabel, spcadjust, spcosa, spdep, spdplyr, spdynmod, speaq2, spiders, splines2, spocc, sppmix, sprinter, spsann, srvyr, ss3sim, ssizeRNA, stR, stabs, starmie, statar, statip, statisticalModeling, sticky, stormwindmodel, storr, stplanr, stpm, strataG, stremr, stringb, stringgaussnet, stringr, strip, stripless, structree, stubthat, subprocess, summarytools, sunburstR, superheat, surrosurv, survRM2, survSNP, surveillance, surveybootstrap, survminer, svdvis, svglite, sweidnumbr, synlik, systemicrisk, syuzhet, tableHTML, tableMatrix, tableone, tables, tabplot, tadaatoolbox, tagcloud, taxize, tcR, templates, tensr, testassay, tester, texmex, text2vec, textTinyR, textreg, textreuse, tibble, tidyRSS, tidyjson, tidyquant, tidyr, tidytext, tidyverse, tidyxl, tigerstats, tigger, tigris, tikzDevice, tilegramsR, timeSeq, timevis, titrationCurves, tlm, tmap, tmle.npvi, tmlenet, tmod, tokenizers, toxboot, tpAUC, trackeR, traits, transcribeR, treebase, treemap, treescape, trelloR, triebeard, trimr, trip, trustOptim, tsna, tuber, tuckerR.mmgg, turner, tvm, ungeneanno, unitedR, units, unpivotr, unvotes, upmfit, uqr, urlshorteneR, urltools, usl, usmap, utiml, uwIntroStats, validann, validate, validatejsonr, valr, valuer, varband, vcfR, vdg, vdmR, vegalite, vegan, vegdata, vembedr, viridis, virustotal, visNetwork, visreg, vtreat, wCorr, walkr, warbleR, water, wbstats, wdman, weathermetrics, webreadr, webshot, weco, wellknown, whoapi, wicket, wikilake, wikipediatrend, wildlifeDI, wiod, wordbankr, wordcloud2, wordspace, worrms, wrapr, wrassp, wrswoR, wrswoR.benchmark, wsrf, xgboost, xml2, xseq, xtable, xtractomatic, xyloplot, xyz, yCrypticRNAs, yakmoR, yarrr, yummlyr, zeallot, zebu, zenplots, zooaRch, zoocat, zoon, ztable.

Enhanced by htmltools, kimisc, networkD3, patchSynctex, svgPanZoom, threejs.

See at CRAN