Skip to content

Instantly share code, notes, and snippets.

@adamhsparks
Created April 16, 2014 06:18
Show Gist options
  • Save adamhsparks/10815652 to your computer and use it in GitHub Desktop.
Save adamhsparks/10815652 to your computer and use it in GitHub Desktop.
Happy birthday in R
lapply((1:4), function(x){paste(c("Happy Birthday ", ifelse(x!=3, "to you", "happy, happy birthday, NAME!")), sep="", collapse="")})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment