OK, I see.  I thought R was just returning the character strings of the
model names without doing any assigning, since that's what it displayed. I
had it right all along. Thanks for your help.

On Fri, Sep 23, 2011 at 1:45 PM, R. Michael Weylandt <
michael.weylandt@gmail.com> wrote:

> What exactly is the problem? Like I said, I'd personally put this in a
> list, but this seems like exactly what you wanted...
>
> > model1
>
> Call:
> lm(formula = y ~ x[, i])
>
> Coefficients:
> (Intercept)       x[, i]
>      1.0489       0.7175
>
> > model2
>
> Call:
> lm(formula = y ~ x[, i])
>
> Coefficients:
> (Intercept)       x[, i]
>     -0.4342       0.8734
>

	[[alternative HTML version deleted]]

