add cleaned-up snippets for R
Merge pull request #380 from emzap79/rsnips

R: a bunch of clever snippets.
Merge remote-tracking branch 'upstream/master'