# pgfSweave 1.1.0 now on CRAN!

December 2, 2010
By

(This article was first published on cameron.bracken.bz » R, and kindly contributed to R-bloggers)

The next release of pgfSweave is now on CRAN! It has been a while since I posted about pgfSweave and there have been some significant changes in the past couple of months.

The main new features are:

• Automatic code highlighting via the highlight package. This can be turned off with the highlight option.
• “Tidying” of source code output via the tidy option.
• Access to tikzDevice sanitization through a code chunk option sanitize
• Automatic addition of the \pgfrealjobname command if it does not exist similarly to the addition of the \usepackage{Sweave} line.
• Setting tex.driver=latex will now (in addition to working) generate an eps file

And of course bug fixes:

• Fixes for bunches of issues related to the changes in Sweave in R 2.12. I think these issues are now resolved (fingers crossed)
• keep.source actually works now.

See the NEWS file for the complete list of changes and the vignette for information on now to use the new options.