I have data from spss imported to R. I did the SEM analysis but the result says Error in dimnames(x) <- dn : length of 'dimnames' [2] not equal to array extent I start with the covariance matrix then, specify.model(), then ram, then params, then vars, then finally the SEM. No result will come out because of the dimnames error. How to go about this? Can anyone help me with this? It'll be much appreciated. Thank you, Grace