I'm running this model:
library('nnet')
test <- multinom(events ~ X1 + X2 + X3 + X4 + X5 + X6 + X7 + X8 + X9 + X10 + X11, data = data)
And I got this error:
Error: cannot allocate vector of size 313.3 Mb
Is there a way to fix this? For example is there somewhere in R that I can set memory, like the "setmem" in Stata? Thanks!