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).

library(knitr)
?knit
knit(input)

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.

News

Reference manual

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

install.packages("knitr")

1.17 by Yihui Xie, 3 months ago


https://yihui.name/knitr/


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], Forest Fang [ctb], Frank E Harrell Jr [ctb] (the Sweavel package at inst/misc/Sweavel.sty), Garrick Aden-Buie [ctb], Gregoire Detrez [ctb], Hadley Wickham [ctb], Heewon Jeon [ctb], Henrik Bengtsson [ctb], Hiroaki Yutani [ctb], Ian Lyttle [ctb], Hodges Daniel [ctb], Jake Burkhead [ctb], James Manton [ctb], Jared Lander [ctb], Jason Punyon [ctb], Javier Luraschi [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], Karl Forner [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], Sylvain Rousseau [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 or reStructuredText require Pandoc (http://pandoc.org). The function rst2pdf() require rst2pdf (https://github.com/rst2pdf/rst2pdf).


Imported by ADPclust, BEQI2, BIGDAWG, BisRNA, BrailleR, ChocoLattes, DLMtool, DSAIDE, Gmisc, Greg, Kmisc, MendelianRandomization, PSF, PTXQC, PreKnitPostHTMLRender, RcppFaddeeva, Rd2md, ReporteRs, SASmarkdown, SNSequate, ShinyItemAnalysis, SpatialEpiApp, adapr, advclust, anipaths, assertive, automagic, blandr, blastula, blkbox, blogdown, bookdown, bookdownplus, cleanEHR, compareGroups, condformat, condir, confidence, cooccurNet, cystiSim, dataCompareR, drake, easyformatr, epitab, ezknitr, factorMerger, flexdashboard, formattable, furniture, gSEM, gglogo, gistr, htmlTable, huxtable, iheatmapr, inlmisc, interAdapt, kableExtra, kfigr, knitLatex, knitrBootstrap, komadown, lazyrmd, learnr, lemon, liftr, linl, lintr, magick, manipulateWidget, modest, modeval, mosaicModel, multisensi, ncappc, opencpu, optiRum, pinp, pixiedust, pointblank, printr, qmethod, quokar, qwraps2, rAmCharts, rNMF, radiant.data, rchallenge, reprex, rgl, rite, rleafmap, rmarkdown, rmdformats, rtable, rticles, rtimicropem, sdcMicro, sjPlot, spelling, survMisc, taxa, teachingApps, tint, tufte, tutorial, ucbthesis, umx, userfriendlyscience, vote, vqtl, xaringan.

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

Suggested by ABC.RAP, ABHgenotypeR, ACMEeqtl, ACSNMineR, ALA4R, AMCTestmakeR, AMModels, ANLP, ANOM, ARPobservation, ARTool, ASICS, ASMap, ASSISTant, AUtests, AbSim, AdhereR, AlphaVantageClient, AncestryMapper, AnnotationBustR, Anthropometry, ArchaeoChron, ArchaeoPhases, ArgumentCheck, AutoDeskR, AutoModel, AzureML, BACA, BAS, BASS, BCSub, BCellMA, BETS, BHMSMAfMRI, BIEN, BIGL, BIOMASS, BIS, BTR, BTYD, BTYDplus, BaTFLED3D, BacArena, BatchGetSymbols, BatchMap, BayesCombo, BayesFactor, BayesMAMS, BayesSingleSub, BayesianNetwork, BayesianTools, Bchron, Bclim, BeviMed, BinarybalancedCut, BioInstaller, BlandAltmanLeh, BoSSA, BradleyTerryScalable, CAISEr, CARS, CHNOSZ, CIEE, CINNA, CPBayes, CRF, CUB, CVXR, CausalImpact, Causata, Census2016, ChainLadder, ChemoSpec, CityWaterBalance, Ckmeans.1d.dp, ClustGeo, ClustVarLV, ClusterR, CoFRA, CodeDepends, CollapseLevels, ConR, ContourFunctions, CopulaDTA, CorReg, Corbi, CorrectOverloadedPeaks, Countr, CrossScreening, Crossover, CytobankAPI, D2C, D3GB, DAAG, DAAGbio, DBI, DBItest, DCG, DESP, DEploid, DGCA, DHARMa, DOT, DRR, DSsim, DT, DVHmetrics, Dark, DataExplorer, DeLorean, DescriptiveStats.OBeu, DiagrammeR, DiffusionRgqd, DiffusionRimp, DiffusionRjgqd, DiversityOccupancy, DrBats, DrImpute, EAinference, EBASS, EBglmnet, ECOSolveR, ECctmc, ECharts2Shiny, EEM, EFDR, EGRET, EGRETci, ELMSurv, EML, EMbC, ENMeval, ESGtoolkit, ESTER, EbayesThresh, Ecfun, EcoSimR, EdSurvey, EfficientMaxEigenpair, EmpiricalCalibration, EpiBayes, EpiCurve, EpiModel, EthSEQ, EventStudy, ExomeDepth, ExtDist, FAOSTAT, FDboost, FFTrees, FLightR, FRK, FSA, FSelectorRcpp, FactoMineR, FarmTest, FateID, FeatureHashing, ForecastFramework, ForestTools, FunChisq, FuzzyAHP, FuzzyNumbers, GA, GADMTools, GAparsimony, GBJ, GCalignR, GENEAclassify, GERGM, GESE, GEint, GFD, GGIR, GMCM, GMSE, GOplot, GPareto, GPoM, GROAN, GSODR, GUILDS, GauPro, GenCAT, GeneticSubsetter, GenomicTools, GeoLight, GeoMongo, GerminaR, GetHFData, GetITRData, GetLattesData, GetTDData, GetoptLong, GiRaF, GlobalOptions, GoodmanKruskal, HARtools, HHG, HIBPwned, HMMoce, HSAR, HTSSIP, HURDAT, HWxtest, HarmonicRegression, HighDimOut, HistData, HiveR, Hmisc, HydeNet, IAPWS95, IAbin, ICtest, IGM.MEA, IMIFA, IMTest, INLAutils, IRISSeismic, IRTpp, ISOpureR, IalsaSynthesis, IceCast, IncDTW, IncucyteDRC, Information, InformationValue, InformativeCensoring, JOUSBoost, JacobiEigen, Jdmbs, JuliaCall, JumpTest, KFAS, KODAMA, KSEAapp, KernelKnn, KoNLP, KraljicMatrix, LAGOSNE, LBSPR, LCAvarsel, LDAvis, LEANR, LEGIT, LTRCtrees, LW1949, LearnGeom, LendingClub, LexisPlotR, LinkageMapView, LocFDRPois, LogisticDx, LowWAFOMNX, LowWAFOMSobol, MADPop, MAGNAMWAR, MALDIquant, MALDIquantForeign, MALDIrppa, MANOVA.RM, MAVE, MBHdesign, MCMCvis, MDMR, MEGENA, MESS, MFKnockoffs, MIAmaxent, MInt, MLID, MLPUGS, MM2S, MM2Sdata, MODIStsp, MOEADr, MPSEM, MPTinR, MSCMT, MTA, MVLM, MVN, MakefileR, MarkowitzR, MazamaSpatialUtils, MeanShift, MedDietCalc, Mediana, Mega2R, Meiosis, MetProc, MetaCycle, MetaIntegrator, MetaLonDA, MittagLeffleR, MixSIAR, MlBayesOpt, Momocs, MonoPhy, MonteCarlo, MortalitySmooth, MullerPlot, MultiBD, NAM, NEArender, NFP, NIPTeR, NMF, NNLM, NNS, NNTbiomarker, NORTARA, NetRep, NetWeaver, NetworkInference, NlsyLinks, NoiseFiltersR, NormalizeMets, OECD, OLScurve, OasisR, OmicsPLS, OneR, OpenImageR, OpenML, OrgMassSpecR, OrthoPanels, OutliersO3, PAC, PANICr, PBD, PCAmixdata, PCRedux, PDN, PDQutils, PGRdup, PKNCA, PKPDmisc, PLmixed, POUMM, PP, PRISMAstatement, PROscorer, PROscorerTools, PSAboot, PSTR, PWFSLSmoke, ParallelForest, PepSAVIms, Perc, PhenotypeSimulator, PhylogeneticEM, Polychrome, PopED, PowerUpR, PredPsych, PredictTestbench, PrevMap, ProFit, ProliferativeIndex, QFASA, QICD, QoLR, QuantumClone, R.rsp, R2DGC, R2admb, R2ucare, R6, R6Frame, RAC, RADanalysis, RATest, RBesT, RCMIP5, RClone, RDML, RDota2, REBayes, REDCapR, REST, RFinfer, RGA, RGCCA, RHPCBenchmark, RHRV, RIA, RInno, RJafroc, RLumModel, RNAseqNet, RNHANES, RNOmni, RNeXML, RNewsflow, RODBCext, RPEXE.RPEXT, RProtoBuf, RQGIS, RRTCS, RRreg, RSAGA, RSNPset, RSQLite, RSelenium, RSentiment, RSpectra, RSwissMaps, RVPedigree, RWildbook, Radviz, Ramble, RankingProject, Rblpapi, Rborist, Rcereal, Rcmdr, RcmdrPlugin.BiclustGUI, RcmdrPlugin.FuzzyClust, RcmdrPlugin.KMggplot2, RcmdrPlugin.MA, RcmdrPlugin.aRnova, Rcpp, RcppAPT, RcppArmadillo, RcppCNPy, RcppClassic, RcppGSL, RcppHoney, RcppMsgPack, RcppNumerical, RcppParallel, RcppShark, RcppThread, RcppZiggurat, Rcssplot, Rd2roxygen, Rdice, Rdistance, ReIns, RefManageR, RegularizedSCA, ReinforcementLearning, RevEcoR, Rilostat, Rknots, Rlda, Rlinsolve, RmarineHeatWaves, RndTexExams, Rodam, Rpolyhedra, Rraven, Rsampling, Rtextrankr, Rvmmin, RxODE, SADISA, SAGA, SALTSampler, SCGLR, SCORPIUS, SDEFSR, SDMPlay, SHELF, SIBER, SIMMS, SLICER, SLOPE, SNPknock, SSDM, SSM, SSRMST, STEPCAM, SanFranBeachWater, SchemaOnRead, SciencesPo, SentimentAnalysis, SeqKat, SharpeR, ShinyImage, ShortForm, Sim.DiffProc, SimCorMultRes, SimDesign, SimMultiCorrData, SimPhe, SimReg, Sleuth2, Sleuth3, SobolSequence, SpaDES, SpaDES.addins, SpaDES.core, SpaDES.tools, SparseDC, SpatialPosition, SqlRender, StMoMo, Stickbreaker, Strategy, StructFDR, SubVis, SuperExactTest, SuperGauss, SuperLearner, SurvRank, SwarmSVM, TANDEM, TBFmultinomial, TCGA2STAT, TCIApathfinder, TESS, TITAN2, TLMoments, TOSTER, TPD, TSCS, TSMining, TSTr, Tcomp, TeachBayes, TestFunctions, ThreeArmedTrials, TiddlyWikiR, TippingPoint, Tlasso, TopKLists, TreeBUGS, TreeSimGM, TriadSim, TropFishR, TurtleGraphics, UNF, UpSetR, V8, VARsignR, VSE, VWPre, VarfromPDB, ViSiElse, WHO, WRS2, WVPlots, WaterML, Wats, WeightedCluster, WhiteStripe, WiSEBoot, WikidataR, WikipediR, Wmisc, WordR, WufooR, XNomial, Zelig, ZeligChoice, ZeligEI, aRxiv, aSPU, aVirtualTwins, abbyyR, acmeR, acnr, adaptiveGPCA, additivityTests, adegraphics, adepro, adespatial, adfExplorer, adjclust, admixturegraph, afex, afpt, agridat, ahnr, ahp, airGR, aire.zmvm, ajv, alakazam, alfred, algorithmia, alleHap, alluvial, alphabetr, alphavantager, alterryx, ameco, amen, analogsea, anchoredDistr, anim.plots, anomalyDetection, antaresProcessing, antaresRead, aoos, aop, apa, apaTables, apcluster, apex, aphid, aplore3, apricom, apsimr, aptg, archivist, archivist.github, argparse, arsenal, asciiSetupReader, aspi, assertable, assertr, assignPOP, asus, asymmetry, atlantistools, atsd, attrCUSUM, attribrisk, auctestr, auk, aurelius, auto.pca, autoimage, automultinomial, autothresholdr, aws.alexa, awsjavasdk, babar, backShift, backblazer, backpipe, ballr, banR, bang, bannerCommenter, base64url, baseballDBR, basictabler, batchtools, bayesAB, bayesDP, bayesGDS, bayesImageS, bayesm, bayesmeta, bayesplot, bazar, bbmle, bcROCsurface, bcRep, bcpa, bdlp, bdscale, beanz, bedr, benchmarkme, berryFunctions, bestNormalize, bib2df, bibliometrix, bife, bigKRLS, bigQueryR, bigmemory, bikedata, billboarder, binman, binomen, bio3d, bioOED, biogas, biogram, bioimagetools, bioinactivation, biomartr, biorxivr, bioset, biotic, biwavelet, bizdays, blink, blscrapeR, bmlm, bmrm, bnclassify, bnspatial, bnstruct, bodenmiller, bold, bomrang, boostr, bossMaps, boxr, bpa, bpp, brazilmaps, breathtestcore, breathteststan, brglm2, bridgedist, bridgesampling, briskaR, brm, brms, broom, brotli, bsplus, bssm, bst, btf, bunchr, burnr, bytescircle, c2c, cIRT, caRpools, camsRad, camtrapR, candisc, canprot, canvasXpress, captioner, captr, caretEnsemble, carpenter, cartography, casebase, cate, cati, catmap, causaldrf, causalsens, cbar, cbsodataR, ccRemover, ccaPP, ccafs, cda, cdata, cdfquantreg, cdparcoord, cellWise, cellranger, census, censusapi, censusr, cetcolor, charlatan, checkmate, checkpoint, chemmodlab, chipPCR, cholera, ciTools, circlize, civis, ckanr, clarifai, classiFunc, classyfire, cleanNLP, cleangeo, cleanr, clhs, clifro, climbeR, climwin, clubSandwich, clustRcompaR, clusterhap, clustermq, clusternomics, clustvarsel, cnbdistr, coRanking, coala, cobalt, cocoreg, cocorresp, codingMatrices, codyn, coenocliner, coga, cointReg, cointmonitoR, colf, collectArgs, colorSpec, colordistance, colorednoise, colorpatch, colorplaner, colourpicker, colourvision, colr, colt, comparer, complexity, comtradr, condusco, confSAM, config, configr, congressbr, constellation, convexjlr, convey, copula, coreCT, corpus, corr2D, corregp, corrgram, corrplot, corrr, cosinor, countyfloods, countytimezones, countyweather, covmat, covr, cowbell, cowplot, cowsay, coxphw, cpr, cptec, cr17, credule, crimelinkage, cronR, crosswalkr, crtests, crul, crunch, csp, ctmcd, ctmle, ctmm, ctsem, cubature, curl, curstatCI, cvequality, cycleRtools, cytometree, cytominer, d3heatmap, dMod, dagitty, dams, dartR, dat, data.table, data.tree, data.world, dataMaid, dataMeta, dataPreparation, dataRetrieval, datacheckr, datafsm, dataone, datapack, datapasta, datarobot, datasauRus, datastepr, datastructures, datasus, dataverse, dbfaker, dbplyr, dbscan, dcmodify, ddR, ddpcr, deBInfer, decisionSupport, decode, decoder, decomposedPSF, decompr, deconvolveR, deductive, defrostR, dejaVu, dendextend, dendrometeR, dendsort, denoiSeq, denovolyzeR, densratio, derivmkts, descriptr, desctable, desiR, desplot, detrendr, detzrcr, devRate, devtools, dexter, dggridR, dgo, di, diagis, diagonals, diceR, diezeit, diffobj, diffpriv, diffrprojects, diffrprojectswidget, diffusr, digest, dirmcmc, discreteRV, diseasemapping, diskImageR, diveMove, dlstats, doRNG, docker, docstring, document, docxtools, dodgr, dosresmeta, dotwhisker, downsize, dparser, dpcR, dplR, dplyr, dplyrAssist, dr4pl, drLumi, drat, drtmle, dsrTest, dtangle, dtwSat, dtwclust, dwapi, dynCorr, dynamichazard, dynfrail, dynsim, eAnalytics, eHOF, earthtones, easyPubMed, easySdcTable, easyVerification, easyml, easypackages, easypower, ecb, ecd, eclust, ecodist, ecoengine, ecolottery, econullnetr, ecospace, ecospat, ecr, edarf, edfReader, edfun, edgarWebR, edgebundleR, editData, edstan, eechidna, eemR, eeptools, eesim, effects, ega, egg, eha, elasticsearchr, electionsBR, elevatr, elo, emmeans, emojifont, emuR, enigma, enpls, enrichR, enrichwith, ensembleR, ensurer, entropart, envDocument, enviGCMS, epandist, epicontacts, episensr, episheet, episode, epitable, eply, equaltestMI, equateIRT, equateMultiple, errorizer, esaddle, ess, etl, etma, etseed, eulerr, europepmc, eurostat, eva, evaluator, evclass, evclust, eventdataR, eventstudies, exampletestr, exams, excel.link, excerptr, explor, exploreR, expp, exprso, expss, extremeStat, eyelinker, eyetrackingR, ezec, ezsummary, fChange, factoextra, fakeR, fastAdaboost, fastJT, fastR, fastR2, fastqcr, fastrtext, fbar, fcm, fcuk, fdapace, fecR, fedreporter, fergm, fetchR, ffstream, fgpt, fiftystater, filematrix, filesstrings, fingertipsR, finreportr, fitbitScraper, fitdistrplus, fitur, fivethirtyeight, fixedTimeEvents, flexsurv, flexsurvcure, flextable, flifo, flowr, flows, fmbasics, fmdates, fmrs, foghorn, fontHind, fontMPlus, forecast, forecastHybrid, forestplot, formatR, forwards, fourierin, fpCompare, fractional, frailtySurv, frailtypack, freesurfer, fslr, fsthet, fulltext, funrar, fuser, fusionclust, futility, futureheatwaves, fuzzr, fuzzyjoin, fuzzywuzzyR, gLRTH, gMCP, gRbase, gWQS, gaiah, gambin, gamclass, gamlss.inf, gamlss.spatial, gapmap, gastempt, gatepoints, gbp, geex, gelnet, gender, genderizeR, geneSLOPE, genemodel, genepop, genotypeR, geoaxe, geofacet, geohash, geojson, geojsonR, geojsonio, geojsonlint, geoknife, geomnet, geoops, geoparser, geostatsp, gesis, getCRUCLdata, getlandsat, getmstatistic, gfer, gfmR, ggCompNet, ggExtra, ggQC, ggRandomForests, ggallin, ggalt, ggconf, ggcorrplot, ggdendro, gge, ggeffects, ggenealogy, ggfan, ggfittext, ggforce, ggformula, ggfortify, gggenes, ggguitar, ggimage, ggiraph, ggiraphExtra, ggjoy, ggloop, ggmcmc, ggmosaic, ggmuller, ggnetwork, ggplot2, ggplotAssist, ggpmisc, ggpolypath, ggpubr, ggpval, ggraph, ggraptR, ggrepel, ggridges, ggsci, ggseas, ggseqlogo, ggsignif, ggspectra, ggswissmaps, ggthemes, ggvis, ghibli, gifti, gitgadget, githubinstall, gitlabr, givitiR, gjam, glarma, glassdoor, glmm, glmmTMB, glmmsr, glmnet, glmnetUtils, glue, glycanr, gmailr, gmediation, goldi, googleAnalyticsR, googleAuthR, googleCloudStorageR, googleComputeEngineR, googleLanguageR, googleVis, googledrive, googlesheets, googleway, goric, gower, gpg, gphmm, gpuR, grapes, graticule, grattan, greta, grex, gridExtra, gridsample, gridsampler, groupdata2, growthcurver, growthrates, grpSLOPE, grpreg, gsDesign, gsEasy, gsloid, gsrc, gsw, gt4ireval, gtrendsR, guess, gunsales, gutenbergr, gvc, h5, hSDM, hansard, haploR, haplotyper, happybiRthday, harvestr, haven, hazus, hddplot, hddtools, hdf5r, hdm, hdnom, heatmap3, heatmaply, heemod, hei, helixvis, helsinki, heuristica, hextri, hierband, hierfstat, highSCREEN, highcharter, highlightHTML, highr, hisse, hmi, hoardeR, hoardr, homomorpheR, hot.deck, hpoPlot, hrbrthemes, hsm, htmltab, htmlwidgets, hts, httk, httpcache, httptest, httr, humaniformat, humidity, hunspell, hurricaneexposure, hutils, hydroTSM, hyfo, hysteresis, iBUGS, iNEXT, iNextPD, iadf, icd, icd9, icosa, icpsrdata, idem, ids, iemisc, iemiscdata, iemisctext, ifaTools, imPois, imager, imaginator, imagine, imbalance, import, imputeTestbench, inbreedR, incR, incadata, incidence, inctools, inferference, inferr, infuser, inpdfr, inspectr, intercure, intergraph, internetarchive, interplot, intubate, investr, ipdw, iprior, iptools, ipumsr, iqspr, irace, irtoys, isdparser, iterpc, itsadug, jaatha, jackstraw, janitor, jcolors, jiebaR, jmvcore, joinXL, joineR, joineRML, jose, jpndistrict, jqr, jrvFinance, js, jsonlite, jsonvalidate, jtGWAS, jtools, jtrans, jug, junr, jwutil, kangar00, kantorovich, kelvin, keras, kerasR, keyholder, keyringr, kgc, kitagawa, knitcitations, knockoff, kpcalg, labelled, labelrank, landscapeR, languagelayeR, lans2r, largeList, largeVis, lasvmR, later, latex2exp, lavaanPlot, lawn, lazyeval, lclGWAS, lctools, ldamatch, ldatuning, ldhmm, leabRa, leaflet, leaflet.minicharts, learningCurve, learningr, learnrbook, lettercase, lfe, lifecontingencies, lifelogr, lightsout, likelihoodAsy, lime, linbin, linear.tools, lineup, lingtypology, link2GI, lintools, liquidSVM, list, littler, lme4, lmem.gwaser, lmem.qtler, lmvar, localsolver, logisticPCA, logitnorm, logmult, longpower, loo, loon, loopr, lplyr, lsgl, lslx, lspline, ltbayes, lubridate, lucid, lumberjack, luzlogr, m2b, m2r, mMPA, mRchmadness, macleish, maddison, madness, madrat, magclass, magicfor, magrittr, manhattanly, manifestoR, mapfuser, mapmisc, mapr, mapsapi, mapview, marcher, margins, marinespeed, markdown, markmyassignment, markophylo, markovchain, mason, matchMulti, matchingMarkets, matchingR, matconv, mateable, matlib, matrixStats, matrixpls, mazealls, mbbefd, mbgraphic, mbir, mcMST, mcglm, mclcar, mclust, mcmcse, mcprofile, mdpeer, mdsr, meaRtools, medicalrisk, medicare, meme, memery, memgene, memisc, memo, merTools, metaBMA, metaMix, metacart, metacoder, metafolio, metaheur, metaplotr, metaviz, meteR, metricsgraphics, mev, mfe, mglR, mhtboot, mi, mice, micompr, microclass, microplot, milr, miniCRAN, minval, mirt, mirtCAT, miscset, misreport, mitml, mixedMem, mixpack, mize, mkin, mldr, mlr, mlrMBO, mlsjunkgen, mlt.docreg, mmpf, mnis, mobsim, mockery, modcmfitr, modifiedmk, modmarg, modules, moko, molaR, momentuHMM, monitoR, monkeylearn, monographaR, moonBook, morse, mortAAR, mosaic, mosaicCalc, mountainplot, moveHMM, moveWindSpeed, mozzie, mpath, mpe, mplot, mptools, mra, mrbsizeR, mregions, msaR, msaenet, mschart, mscstexta4r, mscsweblm4r, msde, msgl, msgtools, msmtools, mstherm, mtconnectR, mudata2, multipanelfigure, multiplex, multiplyr, multirich, musica, mvMORPH, mvMonitoring, mvQuad, mvnfast, mvtboost, mwaved, myTAI, mycor, nCal, nLTT, nandb, naniar, naptime, narray, nat, nat.nblast, nauf, ncdump, ncvreg, ndtv, neat, neighbr, neotoma, nestedRanksTest, netCoin, netdiffuseR, networkreporting, networktools, neurobase, neurohcp, neuroim, ngstk, nhanesA, nhstplot, nicheROVER, nipals, nlmixr, nlsr, nlstimedist, nmaINLA, nmfem, noaastormevents, nomine, noncomplyR, nonlinearTseries, nonmemica, nonnest2, nowcasting, npROCRegression, nplr, nproc, nucim, nullabor, nyctaxi, nzelect, oXim, oai, oaqc, obAnalytics, observer, oce, oddsratio, odr, oem, officer, olctools, olsrr, onemap, ontologyIndex, ontologyPlot, ontologySimilarity, openEBGM, openSTARS, opencage, openssl, openwindfarm, openxlsx, opera, optband, optiSel, optigrab, optimr, optimus, optional, optmatch, optparse, ordinalClust, ores, origami, orsifronts, oshka, osi, osmdata, osmplotr, otvPlots, pMineR, packcircles, packrat, pacman, padr, pafdR, pagenum, pageviews, pairsD3, paleomorph, palr, pals, pander, papeR, paramtest, parlitools, parsemsf, partialCI, passport, patchDVI, patentsview, pathdiagram, pathological, patternplot, pavo, pbo, pca3d, pcaBootPlot, pcadapt, pcev, pcr, pdSpecEst, pdftables, peakPick, peakRAM, perccalc, performanceEstimation, pergola, permPATH, personalized, petro.One, pewdata, pez, phangorn, phantom, philentropy, phonenumber, phonics, photobiology, photobiologyInOut, photobiologyLEDs, photobiologyLamps, photobiologyPlants, photobiologyWavebands, phrasemachine, phybreak, phylobase, phylocanvas, phylogram, phylopath, physiology, piecewiseSEM, pifpaf, pillar, pinbasic, pipeliner, pitchRx, pivottabler, pkggraph, pkgmaker, planar, plantecophys, plater, pleiades, plotROC, plotfunctions, plotluck, plotly, plotwidgets, plspm, pmc, pmmlTransformations, pointRes, polidata, politeness, pollen, pollstR, polmineR, polyPK, polyfreqs, polypoly, pomp, pop, popEpi, poppr, popprxl, postGIStools, poweRlaw, powerlmm, prcbench, prcr, preText, precrec, predatory, prefeR, preference, prepdat, preprocomb, preprosim, preproviz, prettydoc, prioritizr, prioritizrdata, prioritylasso, prism, proPubBills, probout, processmapR, processmonitR, prodigenr, proftools, profvis, projector, prophet, proportion, propr, prospectr, protr, proustr, psd, pseval, psycho, ptest, ptstem, pubprint, pulsar, pulver, pumilioR, purrr, pvar, pweight, pwr, pxweb, qcc, qdap, qfasar, qgam, qicharts, qicharts2, qlcData, qlcMatrix, qqman, qrmdata, qrmtools, qte, qtlcharts, qualpalr, qualtRics, qualvar, quanteda, questionr, queuecomputer, quickPlot, quickReg, quickmapr, quipu, r.jive, rAltmetric, rCAT, rDVR, rEDM, rKIN, rLakeAnalyzer, rMouse, rODE, rPref, rSQM, rWBclimate, rWishart, rYoutheria, rabi, radarchart, radiant, radiomics, radmixture, ragtop, railtrails, raincpc, rainfreq, ramcmc, ramify, randgeo, randomForestExplainer, randomNames, randomizeR, randomizr, rangeMapper, raptr, ratelimitr, raw, rbgm, rbhl, rbison, rbokeh, rccdates, rcongresso, rcoreoa, rcreds, rcrossref, rcv, rdatacite, rddtools, rdefra, rdiversity, rdnb, rdomains, rdpla, rdwd, re2r, reactR, readJDX, readr, readtext, readxl, realestateDK, rebird, recexcavAAR, recipes, recmap, reconstructr, recosystem, reda, redland, redlistr, redux, refimpact, refset, regtools, rehh, relMix, remindR, remoter, rentrez, repijson, replyr, repo, reports, represtools, reproducible, requireR, rerddap, reticulate, reval, revdbayes, rex, rfishbase, rfml, rgbif, rgen, rgeolocate, rgho, rglobi, rhandsontable, rich, riem, rif, rinat, ring, rio, ritis, riverdist, rivr, rjade, rjmcmc, rlang, rmapshaper, rmcorr, rmetasim, rmonad, rmsfuns, rnaturalearth, rnaturalearthdata, rnetcarto, rngtools, rnn, rnoaa, rnrfa, roadoi, roahd, robCompositions, robotstxt, rococo, rodeo, rodham, rollply, rolr, rolypoly, roots, rope, ropenaq, ropercenter, rorcid, rosetteApi, rotations, rotl, roxygen2, rpatrec, rpcdsearch, rpf, rpivotTable, rplos, rpostgisLT, rprev, rprime, rprintf, rprojroot, rpsftm, rptR, rrefine, rroad, rrr, rsample, rsatscan, rscala, rsconnect, rscorecard, rsdmx, rslurm, rsnps, rspa, rstan, rstanarm, rstansim, rstantools, rstudioapi, rsunlight, rsurfer, rsvd, rtdists, rtext, rtimes, rtrie, rtrim, rtweet, rtype, rucm, rucrdtw, runjags, rust, rvertnet, rvest, rwars, rwty, sBIC, sValues, sadists, saeRobust, saeSim, samplesize4surveys, samplingDataCRT, satellite, scalpel, scanstatistics, scatterD3, scatterpie, scdhlm, scenario, schumaker, scidb, scifigure, scmamp, scoringRules, scriptexec, scrm, scrubr, sdm, sdmpredictors, searchConsoleR, secr, secrdesign, secret, secrlinear, seleniumPipes, semver, sensiPhy, seplyr, seqHMM, sequences, sequoia, seroincidence, servr, settings, sf, sfdct, sfinx, sglOptim, sgmcmc, shadow, shadowtext, shazam, shiny, shinyFeedback, shinyjqui, shinyjs, shinystan, shotGroups, showtext, shrink, sicegar, sidrar, sigQC, sigmoid, sigr, sim1000G, simPATHy, simPH, simTool, simcausal, simglm, simmer, simmer.plot, simmr, simpleCache, simpleRCache, simputation, simr, simstudy, simulator, sinaplot, sitmo, sitree, sizeMat, sjlabelled, sjmisc, sjstats, skeleSim, skellam, skm, skyscapeR, sla, slim, slowraker, smacof, smapr, smcfcs, smooth, smpic, snakecase, snht, snp.plotter, snpReady, snpStatsWriter, snplist, sodium, sofa, softImpute, softermax, soilcarbon, solr, solrium, sommer, sophisthse, sorvi, sotkanet, soundecology, soundgen, spAddins, spBayesSurv, spacetime, spacyr, spaero, spant, spark.sas7bdat, sparkline, sparseHessianFD, sparseMVN, sparsebn, sparsevar, spartan, spatialwarnings, spbabel, spcadjust, spcosa, spdep, spdplyr, spduration, spdynmod, speaq, spectrolab, sperrorest, spew, spiders, spind, splashr, splines2, splithalf, splot, spm, spm12r, spocc, sppmix, sprinter, spsann, spup, srvyr, ss3sim, ssizeRNA, stR, stabs, standardize, starmie, statar, statesRcontiguous, statip, statisticalModeling, statsDK, stepR, sticky, stoRy, stormwindmodel, storr, stplanr, stpm, strataG, stremr, strider, stringb, stringgaussnet, stringr, strip, stripless, structree, stubthat, subprocess, sugrrants, summarytools, sunburstR, supc, superheat, surv2sampleComp, survRM2, survSNP, surveillance, surveybootstrap, surveydata, survivALL, survminer, survtmle, svdvis, svglite, sweep, sweidnumbr, synlik, systemicrisk, syuzhet, tRophicPosition, tableHTML, tableMatrix, tableone, tables, tabplot, tabularaster, tactile, tadaatoolbox, tagcloud, tangram, taskscheduleR, tatoo, taxize, taxlist, taxonomizr, tbl2xts, tcR, tcgsaseq, templates, tensorr, tensr, testassay, tester, testthis, texPreview, texmex, text2vec, textTinyR, textreg, textreuse, tfruns, themetagenomics, threshr, tibble, tibbletime, tidyRSS, tidygenomics, tidyposterior, tidyquant, tidyr, tidystringdist, tidytext, tidyverse, tidyxl, tigerstats, tigger, tigris, tikzDevice, tilegramsR, timeSeq, timelineR, timetk, timevis, titrationCurves, tlm, tmap, tmle.npvi, tmlenet, tmod, toOrdinal, tokenizers, toxboot, toxplot, tpAUC, trackeR, traits, transcribeR, treeDA, treebase, treemap, treemapify, treespace, trelloR, tribe, triebeard, trimr, trip, tropr, trustOptim, tsdf, tsna, tuber, tubern, tuckerR.mmgg, tukeytrend, turner, tvm, twfy, uGMAR, uavRmp, udpipe, ukbtools, ukds, ungeneanno, unifDAG, unitedR, unitizer, units, unpivotr, unrepx, unvotes, upmfit, uptasticsearch, uqr, urlshorteneR, urltools, usl, usmap, utf8, utiml, uwIntroStats, vagalumeR, valaddin, validaRA, validann, validate, validatejsonr, valr, valuer, vanddraabe, varband, varbvs, vcfR, vdg, vdmR, vegalite, vegan, vegdata, vein, vembedr, vennLasso, vetr, vfcp, viridis, virustotal, visNetwork, visdat, visreg, vortexR, vpc, vtreat, wCorr, waccR, walker, walkr, warbleR, water, wbstats, wdman, weathermetrics, webglobe, webreadr, webshot, weco, wellknown, whoapi, wicket, widgetframe, widyr, wikilake, wikipediatrend, wikitaxa, wildcard, wildlifeDI, wiod, womblR, wooldridge, wordbankr, wordcloud2, wordspace, worrms, wql, wrapr, wrassp, wrswoR, wrswoR.benchmark, wsrf, xbreed, xesreadR, xgboost, xlsimple, xml2, xpose, xseq, xtable, xtractomatic, xyloplot, xyz, yCrypticRNAs, yakmoR, yarrr, yummlyr, zFactor, zeallot, zebu, zenplots, zonator, zooaRch, zooaRchGUI, zoocat, zoon, ztable.

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


See at CRAN