## Sweave Engine for TeXShop

November 17, 2008
Tags: , , ,

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 process which it enables. Therefore, I [...]

## Using the booktabs package with Sweave and xtable

November 16, 2008
Tags: , ,

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 think the default latex tables [...]

## Be LaTeX my friend

November 9, 2008
Tags:

You may recall this quote from Bruce Lee: Empty your mind, be formless. Shapeless, like water. If you put water into a cup, it becomes the cup. You put water into a bottle and it becomes the bottle. You put it in a teapot it becomes the teapot. Now, water can flow or it can [...]

## A utility for precompiling LaTeX headers

November 7, 2008
Tags:

I recently came across a neat trick which allows precompiling of latex headers (where all the packages are loaded). For a small headers, the loading of style files takes a trivial amount of time. But, for a large documents with alot of \usepackage{} statements, this can take up to 10 seconds (which adds up if [...]