In R, how can I print a list of characters from A to Z? With integers, I can say:
my_list = c(1:10) > my_list [1] 1 2 3 4 5 6 7 8 9 10
But can I do the same with characters? eg
my_char_list = c(A:Z) my_char_list = c("A":"Z")
They do not work, I want the result to be: "A" "B" "C" "D" or separated by commas.
source share