add some relevant r snippets