Skip to Content



The TikZ device enables LaTeX-ready output from R graphics functions. This is done by producing code that can be understood by the TikZ graphics language. All text in a graphic output with the tikz() function will can be typeset by LaTeX and therefore will match whatever fonts are currently used in the document. This also means that LaTeX mathematics can be typeset directly into labels and annotations! Graphics produced this way can also be annotated with custom TikZ commands.


Latticist provides a graphical user interface for exploratory visualisation. It is primarily an interface to the Lattice graphics system, but also produces displays from the vcd package for categorical data. Given a multivariate dataset (either a data frame or a table), latticist attempts to produce useful displays based on the properties of the data. The displays can be customised by editing the calls used to generate them.


ape provides functions for reading, writing, plotting, and manipulating phylogenetic trees, analyses of comparative data in a phylogenetic framework, ancestral character analyses, analyses of diversification and macroevolution, computing distances from allelic and nucleotide data, reading and writing nucleotide sequences, and several tools such as Mantel's test, generalized skyline plots, graphical exploration of phylogenetic data (alex, trex, kronoviz), estimation of absolute evolutionary rates and clock-like trees using mean path lengths and penalized likelihood. Phylogeny estimation can be done with the NJ, BIONJ, ME, MVR, SDM, and triangle methods, and several methods handling incomplete distance matrices (NJ*, BIONJ*, MVR*, and the corresponding triangle method). Some functions call external applications (PhyML, Clustal, T-Coffee, Muscle) whose results are returned into R.


This package contains a variety of functions for animations in statistics, covering areas such as probability theory, mathematical statistics, multivariate statistics, nonparametric statistics, sampling survey, linear models, time series, computational statistics, data mining and machine learning. These functions might be helpful in teaching statistics and data analysis. Also provided in this package are several approaches 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.


Interface to the XGobi and XGvis programs for graphical data analysis.


A violin plot is a combination of a box plot and a kernel density plot.


Visualization techniques, data sets, summary and inference procedures aimed particularly at categorical data. Special emphasis is given to highly extensible grid graphics. The package was inspired by the book "Visualizing Categorical Data" by Michael Friendly.


simple mechanism for placing R graphics in a Tk widget


Plots a three dimensional (3D) point cloud.


Provides medium to high level functions for 3D interactive graphics, including functions modelled on base graphics (plot3d(), etc.) as well as functions for constructing representations of geometric objects (cube3d(), etc.). Output may be on screen using OpenGL, or to various standard 3D file formats including WebGL, PLY, OBJ, STL as well as 2D image formats, including PNG, Postscript, SVG, PGF.