[R] using an element of an array as a new object

ppaarrkk simon_ecc at yahoo.co.uk
Thu Jan 17 13:00:49 CET 2008


Thankyou for the replies.

assign() works.

for (i in 1:7)
assign(filesBox[i,1],read.table(paste(dir2, filesBox[i,1], sep=""), header =
FALSE))


-- 
View this message in context: http://www.nabble.com/using-an-element-of-an-array-as-a-new-object-tp14884435p14917349.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list