Skip to content
Prev 319544 / 398502 Next

Equivalent of deal in R?

Maybe

x <- array(1:3)

for(i in seq_along(x)) {
  assign(letters[i], x[i])
}

but usually there is no need for this kind of thing. Why do you want to do that?

Best,
Ista

On Thu, Mar 14, 2013 at 1:17 PM, Sahana Srinivasan
<sahanasrinivasan.91 at gmail.com> wrote: