[R] assign

Perez Martin, Agustin agustin.perez at umh.es
Wed Jan 7 17:53:56 CET 2004

DeaR useRs:

I would like to assign a values in an object using a loop 'for'.
This is a reduce example of my problem, my real problem is a few

for (j in 1:10) {

I want to create 10 objects as "x.1, x.2, ... , x.9, x.10" with values in
I used the "assign" function but nothing happens.
Thank you very much

More information about the R-help mailing list