Fix R snippets syntax error

How this alluded both of us is beyond me... Sorry about that.