Skip to content

Instantly share code, notes, and snippets.

@derekpowell
Created July 12, 2017 17:41
Show Gist options
  • Save derekpowell/3b4e4beffa820fd05b4bcd547f0f39ca to your computer and use it in GitHub Desktop.
Save derekpowell/3b4e4beffa820fd05b4bcd547f0f39ca to your computer and use it in GitHub Desktop.
Create random alphanumeric sequence in R
result <- rawToChar(as.raw(sample(c(48:57,65:90,97:122),16,replace=T)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment