added new snippets for R and SQL