[R] Looping

yiferic at berkeley.edu yiferic at berkeley.edu
Wed Oct 24 16:30:54 CEST 2007

Is there a way to generate variables with names like var1, var2, var3?
Right now I've been resorting to using either a cat function to string it
together or to pre-generate a list and having it select from list[x] as it

Help would be much appreciated. Thanks!

More information about the R-help mailing list