adapt to changes in knitr and ggplot2

I updated the transition guide so that it works in the current version of knitr and ggplot2; see the commits for details. It should be a reproducible document on its own now (no external files or settings needed).