Skip to content

Instantly share code, notes, and snippets.

@stevekm
Created November 18, 2015 22:09
Show Gist options
  • Save stevekm/137a42fd3828efa911f9 to your computer and use it in GitHub Desktop.
Save stevekm/137a42fd3828efa911f9 to your computer and use it in GitHub Desktop.
Quickly paste "Sample1","Sample2",..."Sample'n' " to be added to a dataframe
paste0(rep("Sample",times=nrow(tmp_Table)),seq(1:nrow(tmp_Table)))
[1] "Sample1" "Sample2" "Sample3" "Sample4" "Sample5" "Sample6" "Sample7" "Sample8"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment