[R] looping variable names

hypermonkey22 jonmosco at gmail.com
Wed Feb 2 21:36:55 CET 2011


Hi all,

I've been looking for a simple answer to the following problem.

Let's say that I can loop through, say, 100 values that need to be assigned
to, say, the variables var1:var100.

Is there an elegant way to do this?

I have seen one or two similar questions...but they tend to be in more
complicated contexts.
Simple question, hopefully with a simple answer.

Thanks very much!
-- 
View this message in context: http://r.789695.n4.nabble.com/looping-variable-names-tp3255711p3255711.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list