Yihui Xie

Yihui Xie

42 packages on CRAN

8 packages on GitHub

evaluate

cran
99.5th

Percentile

Parsing and evaluation tools that make it easy to recreate the command line behaviour of R.

knitr

cran
99.5th

Percentile

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

mime

cran
99.5th

Percentile

Guesses the MIME type from a filename extension using the data derived from /etc/mime.types in UNIX-type systems.

highr

cran
99.5th

Percentile

Provides syntax highlighting for R source code. Currently it supports LaTeX and HTML output. Source code of other languages is supported via Andre Simon's highlight package (<http://www.andre-simon.de>).

markdown

cran
99.5th

Percentile

Provides R bindings to the 'Sundown' 'Markdown' rendering library (<https://github.com/vmg/sundown>). 'Markdown' is a plain-text formatting syntax that can be converted to 'XHTML' or other formats. See <http://en.wikipedia.org/wiki/Markdown> for more information about 'Markdown'.

tinytex

cran
99.5th

Percentile

Helper functions to install and maintain the 'LaTeX' distribution named 'TinyTeX' (<https://yihui.name/tinytex/>), a lightweight, cross-platform, portable, and easy-to-maintain version of 'TeX Live'. This package also contains helper functions to compile 'LaTeX' documents, and install missing 'LaTeX' packages automatically.

xfun

cran
99.5th

Percentile

Miscellaneous functions commonly used in other packages maintained by 'Yihui Xie'.

rmarkdown

cran
99.5th

Percentile

Convert R Markdown documents into a variety of formats.

DT

cran
98th

Percentile

Data objects in R can be rendered as HTML tables using the JavaScript library 'DataTables' (typically via R Markdown or Shiny). The 'DataTables' library has been included in this R package. The package name 'DT' is an abbreviation of 'DataTables'.

formatR

cran
98th

Percentile

Provides a function tidy_source() to format R source code. Spaces and indent will be added to the code automatically, and comments will be preserved under certain conditions, so that R code will be more human-readable and tidy. There is also a Shiny app as a user interface in this package (see tidy_app()).

animation

github
96th

Percentile

Provides functions for animations in statistics, covering topics in probability theory, mathematical statistics, multivariate statistics, non-parametric statistics, sampling survey, linear models, time series, computational statistics, data mining and machine learning. These functions may be helpful in teaching statistics and data analysis. Also provided in this package are a series of functions to save animations to various formats, e.g. Flash, 'GIF', HTML pages, 'PDF' and videos. 'PDF' animations can be inserted into 'Sweave' / 'knitr' easily.

bookdown

cran
96th

Percentile

Output formats and utilities for authoring books and technical documents with R Markdown.

servr

cran
96th

Percentile

Start an HTTP server in R to serve static files, or dynamic documents that can be converted to HTML files (e.g., R Markdown) under a given directory.

rticles

cran
95th

Percentile

A suite of custom R Markdown formats and templates for authoring journal articles and conference submissions.

testit

cran
95th

Percentile

Provides two convenience functions assert() and test_pkg() to facilitate testing R packages.

blogdown

cran
94th

Percentile

Write blog posts and web pages in R Markdown. This package supports the static site generator 'Hugo' (<https://gohugo.io>) best, and it also supports 'Jekyll' (<http://jekyllrb.com>) and 'Hexo' (<https://hexo.io>).

tufte

cran
94th

Percentile

Provides R Markdown output formats to use Tufte styles for PDF and HTML output.

xaringan

cran
89th

Percentile

Create HTML5 slides with R Markdown and the JavaScript library 'remark.js' (<https://remarkjs.com>).

fun

cran
88th

Percentile

This is a collection of R games and other funny stuff, such as the classic Mine sweeper and sliding puzzles.

printr

cran
86th

Percentile

Extends the S3 generic function knit_print() in 'knitr' to automatically print some objects using an appropriate format such as Markdown or LaTeX. For example, data frames are automatically printed as tables, and the help() pages can also be rendered in 'knitr' documents.

Rd2roxygen

cran
75th

Percentile

Functions to convert Rd to 'roxygen' documentation. It can parse an Rd file to a list, create the 'roxygen' documentation and update the original R script (e.g. the one containing the definition of the function) accordingly. This package also provides utilities that can help developers build packages using 'roxygen' more easily. The 'formatR' package can be used to reformat the R code in the examples sections so that the code will be more readable.

MSG

cran
56th

Percentile

A companion to the Chinese book ``Modern Statistical Graphics''.

crandalf

github
17th

Percentile

For a given R package ready for release, all its reverse dependencies are downloaded from CRAN and checked on Travis CI, to make sure the current development version of this package does not break packages that depend on it. For packages with a lot of reverse dependencies, they can be divided into groups, with each group checked on a separate Travis virtual machine to avoid Travis timeout. Additional system dependencies (Ubuntu) can be manually specified in a configuration file.

cranvas

github
17th

Percentile

This is an R package as the next generation of GGobi, a software package for interactive and dynamic statistical graphics. It includes most of features in GGobi such as brushing, zooming, panning, identifying and linking, as well as common types of statistical graphics, e.g. bar plot, scatter plot, boxplot, histogram, density plot, spine plot, parallel coordinates plot, mosaic plot, maps, missing value plot, time series plot, tour, scatter plot matrix, hexagons and tiles (color images), etc. Based on the support of several other packages, cranvas aims for speed (from Qt) and flexibility (from R), with the style and design borrowed from ggplot2.

rlp

github
17th

Percentile

Instead of the traditional way of writing R code with comments under the R/ directory of a package, you may write R code in R Markdown documents or other types of source documents that knitr supports (such as .Rnw), and use Literate Programming techniques to extract the R code to the R/ directory.

rmini

github
17th

Percentile

A minimal R package that shows you how to write R packages with roxygen documentation, S3 methods, vignettes, tests, and C code, etc.

runr

github
17th

Percentile

This package provides mechanisms to run with external programs such as Julia, Shell, and Python, etc. The basic idea is to open a background process, pipe the source code into the process, evaluate it, and obtain the printed results.

yaml

cran
99.9th

Percentile

Implements the 'libyaml' 'YAML' 1.1 parser and emitter (<http://pyyaml.org/wiki/LibYAML>) for R.

99.5th

Percentile

A framework for creating HTML widgets that render in various contexts including the R console, 'R Markdown' documents, and 'Shiny' web applications.

shiny

cran
99.5th

Percentile

Makes it incredibly easy to build interactive web applications with R. Automatic "reactive" binding between inputs and outputs and extensive prebuilt widgets make it possible to build beautiful, responsive, and powerful applications with minimal effort.

webshot

cran
98th

Percentile

Takes screenshots of web pages, including Shiny applications and R Markdown documents.

corrplot

cran
98th

Percentile

A graphical display of a correlation matrix or general matrix. It also contains some algorithms to do matrix reordering. In addition, corrplot is good at details, including choosing color, text labels, color labels, layout, etc.

leaflet

cran
98th

Percentile

Create and customize interactive maps using the 'Leaflet' JavaScript library and the 'htmlwidgets' package. These maps can be used directly from the R console, from 'RStudio', in Shiny applications and R Markdown documents.

installr

cran
97th

Percentile

R is great for installing software. Through the 'installr' package you can automate the updating of R (on Windows, using updateR()) and install new software. Software installation is initiated through a GUI (just run installr()), or through functions such as: install.Rtools(), install.pandoc(), install.git(), and many more. The updateR() command performs the following: finding the latest R version, downloading it, running the installer, deleting the installation file, copy and updating old packages to the new R installation.

kableExtra

cran
97th

Percentile

Build complex HTML or 'LaTeX' tables using 'kable()' from 'knitr' and the piping syntax from 'magrittr'. Function 'kable()' is a light weight table generator coming from 'knitr'. This package simplifies the way to manipulate the HTML or 'LaTeX' codes generated by 'kable()' and allows users to construct complex tables and customize styles using a readable syntax.

threejs

cran
96th

Percentile

Create interactive 3D scatter plots, network plots, and globes using the 'three.js' visualization library (<https://threejs.org>).

prettydoc

cran
94th

Percentile

Creating tiny yet beautiful documents and vignettes from R Markdown. The package provides the 'html_pretty' output format as an alternative to the 'html_document' and 'html_vignette' engines that convert R Markdown into HTML pages. Various themes and syntax highlight styles are supported.

tikzDevice

cran
94th

Percentile

Provides a graphics output device for R that records plots in a LaTeX-friendly format. The device transforms plotting commands issued by R functions into LaTeX code blocks. When included in a LaTeX document, these blocks are interpreted with the help of 'TikZ'---a graphics package for TeX and friends written by Till Tantau. Using the 'tikzDevice', the text of R plots can contain LaTeX commands such as mathematical formula. The device also allows arbitrary LaTeX code to be inserted into the output stream.

93th

Percentile

An R interface to the 'Handsontable' JavaScript library, which is a minimalist Excel-like data grid editor. See <https://handsontable.com/> for details.

citr

cran
86th

Percentile

Functions and an 'RStudio' add-in that search a 'BibTeX'-file to create and insert formatted Markdown citations into the current document.

imguR

cran
81th

Percentile

A complete API client for the image hosting service Imgur.com, including the an imgur graphics device, enabling the easy upload and sharing of plots.

BrailleR

cran
72th

Percentile

Blind users do not have access to the graphical output from R without printing the content of graphics windows to an embosser of some kind. This is not as immediate as is required for efficient access to statistical output. The functions here are created so that blind people can make even better use of R. This includes the text descriptions of graphs, convenience functions to replace the functionality offered in many GUI front ends, and experimental functionality for optimising graphical content to prepare it for embossing as tactile images.

radix

cran
68th

Percentile

Scientific and technical article format for the web. 'Radix' articles feature attractive, reader-friendly typography, flexible layout options for visualizations, and full support for footnotes and citations.

R2SWF

cran
48th

Percentile

Using the 'Ming' library <http://www.libming.org/> to create Flash animations. Users can either use the 'SWF' device swf() to generate 'SWF' file directly through plotting functions like plot() and lines(), or convert images of other formats ('SVG', 'PNG', 'JPEG') into 'SWF'.

38th

Percentile

Provides two functions 'frameableWidget()', and 'frameWidget()'. The 'frameableWidget()' is used to add extra code to a 'htmlwidget' which allows is to be rendered correctly inside a responsive 'iframe'. The 'frameWidget()' is a 'htmlwidget' which displays content of another 'htmlwidget' inside a responsive 'iframe'. These functions allow for easier embedding of 'htmlwidgets' in content management systems such as 'wordpress', 'blogger' etc. They also allow for separation of widget content from main HTML content where CSS of the main HTML could interfere with the widget.

params

cran
27th

Percentile

An interface to simplify organizing parameters used in a package, using external configuration files. This attempts to provide a cleaner alternative to options().

rgabriel

cran
27th

Percentile

This package was created to analyze multi-level one-way experimental designs. It is designed to handle vectorized observation and factor data where there are unequal sample sizes and population variance homogeneity can not be assumed. To conduct the Gabriel test, create two vectors: one for your observations and one for the factor level of each observation. The function, rgabriel, conduct the test and save the output as a vector to input into the gabriel.plot function, which produces a confidence interval plot for Multiple Comparison.

iBUGS

cran
17th

Percentile

This package has provided an interface to WinBUGS/OpenBUGS/JAGS via R2WinBUGS and R2jags. Some options will be intelligently guessed, e.g. the path to WinBUGS/OpenBUGS/JAGS and the data/parameter list. Users can specify all the options in a GUI.

recharts

github
17th

Percentile

Provides an R interface to the JavaScript library ECharts for interactive data visualization.

regexplain

github
17th

Percentile

A set of RStudio Addins to help interactively test and build regular expressions. Provides a Shiny gadget interface for interactively constructing the regular expression and viewing the results from common string-searching functions. The gadget interface includes a helpful regex syntax reference sheet and a library of common patterns.