Error in path.expand(path) : invalid 'path' argument (MplusAutomation)

Hi there,

I am getting error messages when I run mplusModeler in RStudio.


mod <- mplusObject(
  TITLE = "CFA Analysis",
  MODEL = 
    "visual BY x1-x3;
     textual BY x4-x6;
     speed BY x7-x9;",
  OUTPUT = "standardized;",
  rdata = df_analyze)

res <- mplusModeler(mod,
                    dataout = "cfa.dat",
                    modelout = "cfa.ind",
                    run = 1L)

Here is the error message:

Error in path.expand(path) : invalid 'path' argument

In addition: Warning message:
In convert_to_filelist(target, filefilter, recursive) :
Target: cfa.inddoes not appear to be an .inp file. Ignoring it.

Appreciate your help.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.