Yihui Xie

Yihui Xie

31 packages on CRAN

11 packages on GitHub

mime

cran
96th

Percentile

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

knitr

cran
96th

Percentile

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

evaluate

cran
95th

Percentile

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

markdown

cran
95th

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

highr

cran
95th

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

formatR

cran
92th

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

DT

cran
86th

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

animation

github
49th

Percentile

Provides functions for animations in statistics, covering topics in probability theory, mathematical statistics, multivariate statistics, nonparametric 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 (saveSWF(), saveGIF(), saveHTML(), saveLatex(), and saveVideo() respectively). PDF animations can be inserted into Sweave/knitr easily.

testit

cran
29th

Percentile

This package provides two convenience functions assert() and test_pkg() to facilitate testing R packages.

bookdown

cran
18th

Percentile

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

tufte

cran
14th

Percentile

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

servr

cran
13th

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.

fun

cran
6th

Percentile

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

xaringan

github
3th

Percentile

Create slideshows with R Markdown and the JavaScript library 'remark' (http://remarkjs.com).

Rd2roxygen

cran
1th

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 which 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

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

blogdown

github

Write blog posts and web pages in R Markdown. This package uses the static site generator Hugo (<https://gohugo.io>).

crandalf

github

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

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.

printr

github

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.

rlp

github

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

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

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.

rmarkdown

github
95th

Percentile

Convert R Markdown documents into a variety of formats.

shiny

cran
95th

Percentile

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

93th

Percentile

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

installr

cran
78th

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.

leaflet

cran
76th

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 apps and R Markdown documents.

webshot

cran
29th

Percentile

Takes screenshots of web pages, including Shiny applications.

tikzDevice

cran
16th

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.

threejs

cran
13th

Percentile

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

11th

Percentile

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

rticles

cran
7th

Percentile

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

prettydoc

cran
6th

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.

citr

cran
4th

Percentile

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

BrailleR

cran
3th

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.

iBUGS

cran
2th

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.

R2SWF

cran
2th

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.

imguR

cran
1th

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.

params

cran

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

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.

recharts

github

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