Using the
sem() or
cfa() function, the default argument
std.lv=FALSE does that. But you can switch it to
std.lv=TRUE to standardize the latent variable (setting those variances to 1) and freely estimate the first loadings. Or if you use the bare-bones
lavaan() function, no parameters are set to anything but zero by default, so you would need to either specify every parameter in your model syntax, or turn some defaults on (see the
?lavOptions help page for
auto* arguments). If you want to see which defaults the
sem() or
cfa() wrappers turn on, you can see what call was actually used: