R syntax reference snippets