Tag Archives: pgfSweave

pgfSweave 1.1.3 and Beyond

pgfSweave 1.1.3 is now on CRAN. This release adds a few new features and fixes some bugs

  • The pesky Rplots.pdf file is not generated anymore
  • Brand new vignette by Hans Ekbrand on the use of pgfSweave with large data sets based on this site.
  • New example on using caching by Yihui Xie
  • Reusing code chunks now works as expected
  • Inline comments are now preserved when tidy=T (thanks to changes in the formatR)

Please see the NEWS file for the full list sicce version 1.1.0.

I am also now working on the next version of pgfSweave to be version 1.2. This version will make some considerable changes to improve efficiency, namely

  • Scrap the “old” externalization (\beginpgfgraphicnamed) in favor of the tikz external library (\tikzexternalize) which will allow for parallel compilation of external graphics
  • Improve recognition of changes to plotting chunks for efficiency
  • Fix centering of \include‘d images and highlighted output
  • Improve upon the package load time
  • Spif up the command line interface with some new options

pgfSweave 1.1.0 now on CRAN!

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.