-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with translation from lavaan to MCMC syntax #69
Comments
I have not seen this error before. Is it correct that you are fitting the 3-factor cfa from the bcfa() help page? Also, could you paste the output of sessionInfo()? |
Is this a problem with the new Matrix package, which was updated 7 days ago? |
It seems plausible that it is related to the new Matrix version. I just updated to Matrix 1.6-3 and was unable to reproduce this error. But I am on Ubuntu so would miss a Mac-specific problem. If you haven't tried, reinstalling blavaan can sometimes solve these problems. It may also help if you post the sessionInfo(). |
Matrix products: default locale: attached base packages: other attached packages: loaded via a namespace (and not attached): |
Thanks for the info. I now remember seeing some issues long ago in relation to the rstan function x <- matrix(1:4, 2, 2)
rstan::extract_sparse_parts(x) I believe that your error message is coming from |
I think there is a problem with
|
In your last post, I believe the |
I am happy to reopen this if it seems that blavaan is involved in the error. |
Please tell me how I can overcome this error. I am using R version 4.3.1 in MacOS. Tried reinstalling Matrix package, still I get the same error.
[1] "Error in Matrix::t(A) : invalid 'lazy' to 'R_sparse_transpose'\n"
attr(,"class")
[1] "try-error"
attr(,"condition")
<simpleError in Matrix::t(A): invalid 'lazy' to 'R_sparse_transpose'>
Error in blavaan(HS.model, data = HolzingerSwineford1939, auto.var = TRUE, :
blavaan ERROR: problem with translation from lavaan to MCMC syntax.
The text was updated successfully, but these errors were encountered: