A collection of code-snippets for the R course