Published on *OpenMx* (http://openmx.psyc.virginia.edu)

By *wuhao_osu*

Created *09/15/2010 - 19:26*

Wed, 09/15/2010 - 19:26 — wuhao_osu [1]

I would like to report an instance when R was forced closed without an error message.

I was running an ACE model with the components A C and E being matrices. When specifying the DZ twin covariance I used 0.5*A+C instead of 0.5%x%A+C, which caused the crash. Replacing the * by %x% fixed the problem.

Aside from the crash, it is quite tricky that * cannot be used for scalar-matrix multiplication, which is not consistent with R operations. To represent the scalar multiplication in a linear space as a special case of Kronecker product is a bit weird.

**Links:**

[1] http://openmx.psyc.virginia.edu/users/wuhaoosu

[2] http://openmx.psyc.virginia.edu/thread/702

[3] http://openmx.psyc.virginia.edu/thread/695

[4] http://openmx.psyc.virginia.edu/forums/openmx-help/openmx-error-messages