Fix syntax in R for loop
Add R for and while snippets