I am a new user of R. I have been having problems running the 'pvargmm' function from the package PanelVar for several weeks now.
It is a small code, but so far I've only been able to use it for a tiny dataset.
I even tried running it on a virtual machine but I always get errors related to insufficient memory, such as "cannot allocate vector of size...", or "cholmod error 'out of memory' ..."
My dataset contains 2784 observations, population 48, 58 years and 4 variables.
To be honest, I'm not sure what the solution is, but I know lots of people have asked similar questions here. So in case you haven't read them, it's possible that someone already solved the same question. I'll link some here
If you can share your code and some data that causes the memory problem, that would also help. Could be thereās something in the code that could be optimized, or at least somebody else can verify whatās going on and be in a better position to suggest workarounds.
For advice on how to share code and data, see here: