Using tikzDevice with Sweave in R 2.13

April 12, 2011

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

6

No Sidebar, Fullscreen, Super Minimal Gmail (for ninjas)

November 17, 2010
Tags: ,

Real Gmail Ninjas dont want all that sidebar clicky junk on their screens. Because of keyboard shortcuts, you can do nearly everything in Gmail with the keyboard and the sidebar becomes irrelevant. Also I use Adium, so I don’t need the build in chat. I created a css file that kills the sidebar and some [...]

4

Automated way to check for PGF version

April 21, 2010
Tags: , ,

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

2

Using Git with R-Forge OR Adding an local Git branch to track an Subversion Repo

December 3, 2009

These instructions were originally from instructions from my friend Charlie. I really like to use Github but R-Forge has alot of nice features for package development, so why not get the best of both worlds. Say you have a git repo (with an R package or something else) but want to create a local brach [...]

9

Trick Gmail into checking POP3 more often

September 2, 2009
Tags:

I finally got sick of gmail only checking my POP3 account every hour or so, so I resolved to fix it. If you google this, there are numerous solutions, I thought I would share my experience. I have access to a web/mail server so I used that. (1) Log on to the server. (2) Create [...]

0

Set Homepage to Top Sites in Safari 4

June 29, 2009
Tags: ,

In the homepage input field put topsites://

1

Applescript application interface command line mplayer

March 21, 2009
Tags: ,

Many high quality (e.g. 1080p) movies take significant system resources to play. A GUI wrapper application only adds an extra middle man. The command line version of mplayer is very fast and has served me well many times. I am a huge fan of the command line but sometimes I just want to double click [...]

1