Blog Archives

Who wants to maintain pgfSweave?

August 2, 2012
By

So the time has come for me to face the fact that I have no time to maintain pgfSweave. It was recently archived because I didn’t make necessary changes to comply with some CRAN policies. SO, I need someone to step up to the plate to make some tweakes, put it back up on CRAN

Read more »

Syntax highlighting of roxygen documentation in TextMate

August 2, 2011
By

With roxygen now on github, the release of roxygen2 and Hadley’s might now behind the project I expect roxygen to gain even more momentum. R development in TextMate is great with the R bundle. Unfortunately the R bundle does not support highlighting of roxygen documentation by default. That was always a sticking point for me

Read more »

Synctex with Sweave/pgfSweave in TeXShop/TeXWorks

June 28, 2011
By

Ever been editing an .Rnw (Sweave) file and tried to sync a pdf with the source in TeXShop (or TeXWorks) and had it open the .tex file? This is because the synctex information (in the .synctex.gz file) is messed up. Both TeXShop and TeXWorks support synctex, that means that if everything is groovy, we should

Read more »

Using tikzDevice with Sweave in R 2.13

April 12, 2011
By

R 2.13 introduces an option to specify a custom graphics device in an Sweave code chunk. This is really cool and allows you to use tikzDevice output like pgfSweave does. In an pinch, say when you dont have access to any non-core packages, you can use tikzDevice output with the regular Sweave driver (RweaveLatex) more

Read more »

There is a new version of pgfSweave, and its awesome!

April 6, 2011
By

I just uploaded version 1.2.1 of pgfSweave, and I think it is just great! The most notable new feature is the use of the TikZ externalization library list and make feature instead of the pgf \begingraphicnamed functionality. This has some important consequences: PGF 2.10 is required! This has been out for some months now but

Read more »

pgfSweave 1.1.3 and Beyond

January 19, 2011
By

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

Read more »

pgfSweave 1.1.0 now on CRAN!

December 2, 2010
By

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

Read more »

Automated way to check for PGF version

April 21, 2010
By

This is one way to check for the version of PGF that is installed in an automated way. First create a tex file with the following contents: \documentclass{article} \usepackage{tikz} \batchmode \makeatletter \typeout{PGFVersion=\pgfversion} \@@end Say you named it test-pgf-version.tex. Then: pdflatex test-pgf-version.tex cat test-pgf-verson.log | grep PGFVersion | sed ‘s/PGFVersion=//’ should display the version number. I

Read more »

pgfSweave version 1.0.5 released

April 12, 2010
By

Version 1.0.5 is now on CRAN. This version brings some bug fixes as well as two new features:Unlabeled code chunks are now allowed. The correct version of PGF is now checked for on startup. If the version is < 2.00, the package will fail to load....

Read more »

pgfSweave now on CRAN

December 6, 2009
By

At long last pgfSweave has finally made its way to CRAN. http://cran.r-project.org/web/packages/pgfSweave/index.html The pgfSweave R package is about speed and style of graphics. For speed, the package provides capabilities for “caching” graphics generated with Sweave on top of the caching funcitonality of cacheSweave. For style the pgfSweave package facilitates the integration of R graphics with

Read more »