Articles by cameron

Who wants to maintain pgfSweave?

August 2, 2012 | cameron

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, ... [Read more...]

Syntax highlighting of roxygen documentation in TextMate

August 2, 2011 | cameron

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 ... [Read more...]

Synctex with Sweave/pgfSweave in TeXShop/TeXWorks

June 28, 2011 | cameron

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 ... [Read more...]

Using tikzDevice with Sweave in R 2.13

April 12, 2011 | cameron

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 ... [Read more...]

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

April 6, 2011 | cameron

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 ... [Read more...]

pgfSweave 1.1.3 and Beyond

January 19, 2011 | cameron

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 ... [Read more...]

pgfSweave 1.1.0 now on CRAN!

December 2, 2010 | cameron

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 ... [Read more...]

Automated way to check for PGF version

April 21, 2010 | cameron

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 | ... [Read more...]

pgfSweave version 1.0.5 released

April 12, 2010 | cameron

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 | cameron

At long last pgfSweave has finally made its way to CRAN. 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 ... [Read more...]

swfDevice: Help Wanted (Windows Build) and Outlook

December 3, 2009 | cameron

swfDevice is an R package I am developing that produces swf (flash) files natively from R. If anyone can step up and help get a working windows build up and running that would be great! I have little expertise with windows and I am just about stuck as what to ... [Read more...]

swfDevice is nearing completion

November 17, 2009 | cameron

My new R package, swfDevice, is getting close to its first release. This package enables native R graphics output as swf (flash) files. It also as the ability to create animations with player controls. The main project page is here and the results of the test suite are here. Here ... [Read more...]

Beta Verson of tikzDevice Released!

July 28, 2009 | cameron

The tikzDevice package provides a new graphics device for R which enables direct output of graphics in a LaTeX-friendly way. The device output consists of files containing instructions for the TikZ graphics language and may be imported directly into LaTeX documents using the \input{} command. The beta version of tikzDevice ... [Read more...]

Development of tikzDevice is underway

June 26, 2009 | cameron

Development of the R package tikzDevice has been underway for about a month now. This package allows for the output of R graphics as TikZ commands. Charlie Sharpsteen and I have gotten it into an alpha stage. There is no real documentation but there is plenty of comments in the ... [Read more...]

Sweave Engine for TeXShop

November 17, 2008 | cameron

Sweave is an awesome utility for including the output of R code in a LaTeX document which I have started using regularly. TeXShop is my favorite editor/viewer for LaTeX under Mac OS X for many reasons. One of which is the speed of the edit -__ compile -__ view ... [Read more...]

Using the booktabs package with Sweave and xtable

November 16, 2008 | cameron

The xtable package in R can output R data as latex tables. Used in conjunction with Sweave it is possible to automatically generate tables in a report. Needless to say this provides a really appealing possibility of never typing data into a table again. The only problem is that I ... [Read more...]

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)