Skip to content

Commit

Permalink
Add R for and while snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
patflick committed Apr 25, 2014
1 parent 5edbfec commit 74ef5cb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions snippets/r.snippets
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ snippet ei
${0}
}

# loops
snippet wh
while(${1}) {
${2}
}
snippet for
for (${1:item} in ${2:list}) {
${3}
}

# functions
snippet fun
${1:name} = function (${2:variables}) {
Expand Down

0 comments on commit 74ef5cb

Please sign in to comment.