
Recover a .out file's Mplus syntax as a sibling .inp file
Source:R/mplus.R
dot-mplus_export_syntax.RdA .out file's own INPUT INSTRUCTIONS section IS the exact Mplus
syntax that produced it – unlike .spv (syntax recovered from a
SEPARATE structure element), and like .smcl (a command echo IS the
syntax). This materialises that block as a real .inp file (Mplus's own
input-syntax extension), in a code subdirectory alongside the original
.out file, so it is discoverable the same way an author's own saved
.inp file would be – see .code_expand_mplus() in R/code_check.R,
this function's only caller.