[R] R hang-up using lm

Jean-Pierre Müller Jean-Pierre.Mueller at dssp.unil.ch
Wed Apr 28 12:01:50 CEST 2004


Le 28 avr. 04, à 11:18, Göran Broström a écrit :

>
>>  lm(y ~ x)
>
> Call:
> lm(formula = y ~ x)
>
> Coefficients:
> (Intercept)            x
>     -0.8783       0.1293
>
>
>>  lm(x ~ y)
>
> Call:
> lm(formula = x ~ y)
>
> Coefficients:
> (Intercept)
>         5.5
>

Same on RAqua 181,

and the 2 show:
z[]
...
$model
Error in as.data.frame.default(x[[i]], optional = TRUE) :
	can't coerce array into a data.frame

And calling first
z <- lm(x ~ y)
gives
Error: cannot allocate vector of size 3043328 Kb

HTH.
-- 
Jean-Pierre Müller
SSP / BFSH2 / UNIL / CH - 1015 Lausanne
Voice:+41 21 692 3116 / Fax:+41 21 692 3115




More information about the R-help mailing list