[R] how to generate sequence "a" - "z"

Gabor Csardi csardi at rmki.kfki.hu
Tue Jan 29 13:41:24 CET 2008


Even easier than you think... G.

> letters
 [1] "a" "b" "c" "d" "e" "f" "g" "h" "i" "j" "k" "l" "m" "n" "o" "p" "q" "r" "s"
[20] "t" "u" "v" "w" "x" "y" "z"


On Tue, Jan 29, 2008 at 04:39:11AM -0800, skestin wrote:
> 
> I suppose it's very simple but I can't find the way to generate a sequence of
> characters, e.g. from "a" to "z".
> Could you please help me with this?
> -- 
> View this message in context: http://www.nabble.com/how-to-generate-sequence-%22a%22---%22z%22-tp15158509p15158509.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

-- 
Csardi Gabor <csardi at rmki.kfki.hu>    UNIL DGM



More information about the R-help mailing list