{Experiences with TikzDevice}
{David Allen}
{The following is a brief description of R and the
tikzDevice package; this material is from \url{http://www.r-project.org},
slightly edited. My \TUG\ presentation will provide more detail about R
and tikzDevice. Mostly however, the presentation will consist of
examples and demonstrations.
R is a language and environment for statistical computing and
graphics. It is a \GNU\ project. R provides a wide variety of
statistical (linear and nonlinear modeling, classical statistical tests,
time-series analysis, classification, clustering, \dots)\ and graphical
techniques, and is highly extensible. R is often the vehicle of choice
for research in statistical methodology, and it provides an open source
route to participation in that activity. One of R's strengths is the
ease with which well-designed publication-quality plots can be produced,
including mathematical symbols and formulas where needed. Great care has
been taken over the defaults for the minor design choices in graphics,
but the user retains full control. R is available as free software under
the terms of the Free Software Foundation's \GNU\ General Public License
in source code form. It compiles and runs on a wide variety of Unix
platforms and similar systems (including Free\BSD\ and \GNU/Linux),
Windows and \MacOSX.
The \code{tikzDevice} package 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 paper typeset by \LaTeX, these blocks are interpreted with
the help of \TikZ\Dash a graphics package for \TeX\ and friends
originally written by Till Tantau. Using \code{tikzDevice}, the text of R plots
can contain \LaTeX\ commands such as mathematics. The device
also allows arbitrary \LaTeX\ code to be inserted into the output~stream.}