<div dir="ltr">It looks like you may need to specify the SEM model on 3 lines instead of a single line. Just hit ENTER after "iSalesSAT" on the first line and R will create a new line with "+" for you to continue.<div><br></div><div>Here's a direct copy from the R console:<div><br></div><div><div><font face="monospace, monospace">> satModel <- "SAT =~ iProdSAT + iSalesSAT</font></div><div><font face="monospace, monospace">+              REC =~ iProdREC + iSalesREC</font></div><div><font face="monospace, monospace">+              REC ~  SAT "</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">> library(lavaan)<br></font></div><div><font face="monospace, monospace">> sat.fit <- cfa(satModel, data=satData)</font></div><div><font face="monospace, monospace">> summary(sat.fit, fit.m=TRUE)</font></div><div><font face="monospace, monospace">lavaan (0.5-17) converged normally after  31 iterations</font></div></div><div>...</div><div><br></div><div>Also, just to check, make sure that you've loaded "satData". You could check that with <font face="monospace, monospace">summary(satData)</font></div></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Best,</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">-- Chris</font></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 23, 2015 at 8:34 AM,  <span dir="ltr"><<a href="mailto:r-marketing-bugs-owner@lists.r-forge.r-project.org" target="_blank">r-marketing-bugs-owner@lists.r-forge.r-project.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">As list administrator, your authorization is requested for the<br>
following mailing list posting:<br>
<br>
    List:    <a href="mailto:R-marketing-bugs@lists.r-forge.r-project.org">R-marketing-bugs@lists.r-forge.r-project.org</a><br>
    From:    <a href="mailto:andrew.reynolds@illuminas.com">andrew.reynolds@illuminas.com</a><br>
    Subject: Bug. p16?<br>
    Reason:  Post by non-member to a members-only list<br>
<br>
At your convenience, visit:<br>
<br>
    <a href="http://lists.r-forge.r-project.org/cgi-bin/mailman/admindb/r-marketing-bugs" target="_blank">http://lists.r-forge.r-project.org/cgi-bin/mailman/admindb/r-marketing-bugs</a><br>
<br>
to approve or deny the request.<br>
<br><br>---------- Forwarded message ----------<br>From: Andrew Reynolds <<a href="mailto:Andrew.Reynolds@illuminas.com">Andrew.Reynolds@illuminas.com</a>><br>To: "<a href="mailto:r-marketing-bugs@lists.r-forge.r-project.org">r-marketing-bugs@lists.r-forge.r-project.org</a>" <<a href="mailto:r-marketing-bugs@lists.r-forge.r-project.org">r-marketing-bugs@lists.r-forge.r-project.org</a>><br>Cc: <br>Date: Mon, 23 Mar 2015 15:34:12 +0000<br>Subject: Bug. p16?<br>





<div lang="EN-GB" link="blue" vlink="purple">
<div>
<p class="MsoNormal" style="word-break:break-all"><span style="font-size:10.0pt;font-family:"Lucida Console";color:blue;background:#e1e2e5">> satModel <- "SAT =~ iProdSAT + iSalesSAT REC =~ iProdREC + ISalesREC REC ~ SAT "<u></u><u></u></span></p>
<p class="MsoNormal" style="word-break:break-all"><span style="font-size:10.0pt;font-family:"Lucida Console";color:blue;background:#e1e2e5">> library(lavaan)<u></u><u></u></span></p>
<p class="MsoNormal" style="word-break:break-all"><span style="font-size:10.0pt;font-family:"Lucida Console";color:blue;background:#e1e2e5">> sat.fit <- cfa(satModel, data=satData)<u></u><u></u></span></p>
<p class="MsoNormal" style="word-break:break-all"><span style="font-size:10.0pt;font-family:"Lucida Console";color:#c5060b;background:#e1e2e5">Error in ~iProdSAT + iSalesSATREC = ~iProdREC + ISalesRECREC ~ SAT :
<u></u><u></u></span></p>
<p class="MsoNormal" style="word-break:break-all"><span style="font-size:10.0pt;font-family:"Lucida Console";color:#c5060b;background:#e1e2e5">  object 'iProdSAT' not found</span><span style="font-size:10.0pt;font-family:"Lucida Console";color:black;background:#e1e2e5"><u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span>Can’t see how I am misspecifying the model.<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<br clear="both">
______________________________________________________________________<br>
This email has been scanned by the Symantec Email Security.cloud service.<br>
For more information please visit <a href="http://www.symanteccloud.com" target="_blank">http://www.symanteccloud.com</a><br>
______________________________________________________________________<br>
</div>

<br><br>---------- Forwarded message ----------<br>From: <a href="mailto:r-marketing-bugs-request@lists.r-forge.r-project.org">r-marketing-bugs-request@lists.r-forge.r-project.org</a><br>To: <br>Cc: <br>Date: Mon, 23 Mar 2015 16:34:44 +0100<br>Subject: confirm 83cb6dc8c665efa2c289c4102cc72b74a6bd19cb<br>If you reply to this message, keeping the Subject: header intact,<br>
Mailman will discard the held message.  Do this if the message is<br>
spam.  If you reply to this message and include an Approved: header<br>
with the list password in it, the message will be approved for posting<br>
to the list.  The Approved: header can also appear in the first line<br>
of the body of the reply.<br></blockquote></div><br></div>