I'm replicating (i.e. copy-pasting) something originally created in MPlus, but since it has more variables than permitted in the demo version, I'm trying to use the R package mplus2lavaan to parse or run it (either works). I keep getting this error:
Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, :
scan() expected 'a real', got '1,1980,0,0,-9,0.553950394,0.583631578,-9,0.291102487,-0.509164477,-9,0,0,0,0'
which is the first line of my data, which I thought was the correct format for MPlus (no variable names/headers) and is not throwing an error in MPlus (beyond the demo version's objection to the number of variables).
Any help is so appreciated!