Troubles with OpenMx example

1 reply [Last post]
Psychometrics's picture
Joined: 01/10/2010


I have tried to run the code as documented here:

Don't know why but I always get the following error message:

Error in mxModel("twinACE", mzModel, dzModel, mxAlgebra(expression = MZ.objective + :
could not find function "mxFitFunctionAlgebra"

Any idea what is wrong here? Many thanks in advance!

mhunter's picture
Joined: 07/31/2009
*Source* vs *Binary* Demos

I think you probably have the binary version of of OpenMx installed, but you're trying to run the source version of the demo. Most of the time this would be fine. However, currently the source and binary versions have some important differences related to new features.

See the following for more information on the new features:

You should be able to run the following.

demo("UnivariateTwinAnalysis_MatrixRaw", package="OpenMx")

This should work no matter what version of OpenMx you are running.

Hope this clarifies things!