Re: [R] Naming output of a for loop

2010-03-01 Thread Steve Lianoglou
Hi Kevin, On Mon, Mar 1, 2010 at 12:30 PM, Kevin Long wrote: > Hello R users, > > I am new to R and am having difficulty with the output of my "for" loops. I > have written a function to perform a linear regression on multiple files, > but when I use the "print()" function to look at my results,

[R] Naming output of a for loop

2010-03-01 Thread Kevin Long
Hello R users, I am new to R and am having difficulty with the output of my "for" loops. I have written a function to perform a linear regression on multiple files, but when I use the "print()" function to look at my results, it is not specified from which data set the regression was done on. I wo