Snippets of source code for R