The MplusAutomation package leverages the flexibility of the R language to automate latent variable model estimation and interpretation using Mplus, a powerful latent variable modeling program developed by Muthen and Muthen (www.statmodel.com). Specifically, MplusAutomation provides routines for creating related groups of models, running batches of models, and extracting and tabulating model parameters and fit statistics.
I am curious if there is a way to truncate the file path in the input syntax using mplusObject. My working project is within a few folders, and I am not able to estimate the model without getting the error:
*** WARNING
Input line exceeded 90 characters. Some input may be truncated.
When working in Mplus directly, I can run the model with the file command as just the name of the .dat file (with out the long file path). Is this possible using MplusAutomation? This is what my code looks like now:
Thanks for this, Dina. The mplusModeler and prepareMplusData commands were not wrapping long file paths, leading to this error. I just pushed commit 92c0014, which fixes this problem.
Hello,
I am curious if there is a way to truncate the file path in the input syntax using
mplusObject
. My working project is within a few folders, and I am not able to estimate the model without getting the error:When working in Mplus directly, I can run the model with the file command as just the name of the .dat file (with out the long file path). Is this possible using MplusAutomation? This is what my code looks like now:
Thanks for your help.
Dina