[R] Error: vector memory exhausted (limit reached?)

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Thu Nov 25 10:38:05 CET 2021


On Wed, 24 Nov 2021 13:36:28 +0000
Olivia Keefer <okeefer using monigle.com> wrote:

> dim(OrigData)

What is the size of OrigData? How much random-access memory does the
computer have? If there's a lot of memory, are you running a 32-bit or
a 64-bit build of R?

> linmod4 <- lm( B5 ~ B6_1 + B6_2 + B6_3 + B6_4 + B6_5 + B6_6 + B6_7 +
> B6_8 + B6_9 + B6_10 + B6_11 + B6_12 + B6_13 + B6_14 + B6_15 + B6_16 +
> B6_17 + B6_18 + B6_19 + B6_20 + B6_21 + B6_22 + B6_23 + B6_24 + B6_25
> + B6_26 + B6_27 , data= categorydata)

> f4 <-calc.relimp(linmod4,type = c("lmg","first","last"), rela = TRUE)

Which function call crashes with "vector memory exhausted", the lm()
one, the calc.relimp() one, or some other one? What does traceback()
show after the error?

-- 
Best regards,
Ivan



More information about the R-help mailing list