R usage reference snippets