Skip to content

Instantly share code, notes, and snippets.

@jacob-ogre
Last active December 15, 2015 20:41
Show Gist options
  • Save jacob-ogre/5320512 to your computer and use it in GitHub Desktop.
Save jacob-ogre/5320512 to your computer and use it in GitHub Desktop.
R: If-Else-loop
<snippet>
<content><![CDATA[if(${1:test}){
${2:yes}
} else {
${3:no}
}
]]></content>
<tabTrigger>ife</tabTrigger>
<scope>source.r, source.rd.console</scope>
<description>Ifelse</description>
</snippet>
@jacob-ogre
Copy link
Author

Updated from the default ST2 Ifelse snippet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment