add r snippets