I get this error: Error: cannot allocate vector of size 3.8 Gb. This happens when I am using the gmm function (Car package). I already tried to increase the memory: memory.limit(size=500000). But still I get the same error. Can someone help me?

  • 1
    $\begingroup$ You're just running out of memory as the error suggests $\endgroup$ – alan ocallaghan yesterday

Browse other questions tagged or ask your own question.