Automatically create YaSnippets in R