Skip to content

v0.8

Compare
Choose a tag to compare
@krlmlr krlmlr released this 07 Jan 09:46
· 304 commits to master since this release

Compatibility

This release doesn't work on OS X and Solaris. This will be resolved soon.

Contributors

  • Thanks to Greg Jefferis, Bill Venables, Sam Mason, Gvozden Neskovic,
    Martin Bergner and Casper Ti. Vector for contributing to this release.

Features

  • Add parameter timestamp to tikz to make the output of the timestamp optional (#28,
    #73, thanks Martin Bergner).
  • Add parameter lwdUnit to tikz to specify the physical width of a line
    (in points) that is 1 unit wide in R. By default, the value of option
    tikzLwdUnit is used; this option has a value of 0.4 at startup (#68,
    thanks Casper Ti. Vector).
  • Optionally use symbolic colors defined in a single external file instead of
    hard-coded colors defined in-place. New parameters symbolicColors,
    colorFileName and maxSymbolicColors; new options tikzSymbolicColors
    and tikzMaxSymbolicColors. The external file is only created if requested;
    in this case, symbolic color names are used instead of fillColor and
    drawColor (#70, thanks Martin Bergner).

Bug Fixes

  • Ignore fill color for lines to remove thin line (1 pixel wide) that was shown
    with dashed or dotted lines on some viewers (#63, thanks Martin Bergner).
  • More robust handling of metrics dictionary. Changes to the
    tikzMetricsDictionary option are recognized even if a metrics dictionary
    already has been initialized, a message is printed the first time a dictionary
    is used (in addition to the message that is printed when the dictionary is
    created). A missing dictionary file is recreated (#21).
  • Performance improvements with zero-width strings (#66, thanks Gvozden Neskovic)
  • Add parameter checkstate to allow adding annotations to a new plot (#52,
    thanks Sam Mason)
  • Allow raster images to be output without resampling by setting
    options(tikzRasterResolution = NA) (#54, thanks Sam Mason)
  • In console mode, print a \relax statement after the comment to allow using
    tikzDevice in a Sweave code chunk with results=tex, as advertised in the
    vignette. (The default is strip.white=TRUE which makes the following
    \begin{tikzpicture} appear on the same line as the encoding comment in the
    resulting .tex file.) (#47, thanks Bill Venables)

Vignette

  • Use knitr as vignette builder (#37).
  • Fixed typos (#45, thanks Greg Jefferis).
  • Vignette now also compiles if the zi4 TeX package is installed instead of
    inconsolata. This should fix the CRAN notes and warnings on Windows.
  • Loading babel TeX package to avoid printing tilde in references (#49).

Internal

  • Tests perform strict image comparison (#18).
  • Testing now also works in RStudio.