Ok, good pickup. I don't remember why, but I do remember that for earlier versions of OpenMx I had to specify type='RAM' or else various things seemed to break. Could also be a bug in my own code that somehow improved along the way I guess... or in worst case I'll find over the coming week that certain things are not working :) Anyway, when I leave out the type argument, I'm able to change my data later with no problem. So, cheers!
The error is triggered by the following test,
Are you using non-default names for these matrices?
I am puzzled why changing the data would cause this error to trigger. Can you provide a script to reproduce the problem?
Certainly it ought not happen, but I am not quite following the use case
The error implies the model type ="RAM". But model type for matrix models is default, and the expectations etc are different.
Can you please check the following on your pre and post change models?
e.g.
Ok, good pickup. I don't remember why, but I do remember that for earlier versions of OpenMx I had to specify type='RAM' or else various things seemed to break. Could also be a bug in my own code that somehow improved along the way I guess... or in worst case I'll find over the coming week that certain things are not working :) Anyway, when I leave out the type argument, I'm able to change my data later with no problem. So, cheers!