More snippets in R and tex snippets.