Skip to content
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

Error extracting SAMPSTAT in output file #215

Open
TomArriaza opened this issue Sep 30, 2024 · 0 comments
Open

Error extracting SAMPSTAT in output file #215

TomArriaza opened this issue Sep 30, 2024 · 0 comments

Comments

@TomArriaza
Copy link

TomArriaza commented Sep 30, 2024

I am trying to get the matrix correlation of the model, but the SAMPSTAT section was not recognized. I tried to directly install the package from the github, but it does not fix the issue.

If it helps, my file is in the next link:
https://drive.google.com/file/d/1HYeotgVt0q3Va6WCFFpQa5MlKLnGcRvg/view?usp=drive_link

Two errors are displayed:

Error parsing input section of output file: AFC ICS/01. CFA/03. ics 1f25i overall both samples.out
<simpleError in if ((leadingEquals <- regexpr("^\s*[A-Za-z]+[A-Za-z_\-\d]\s(=)", cmd[1L], perl = TRUE))[1L] > 0) { cmdName <- trimSpace(substr(cmd[1L], 1, attr(leadingEquals, "capture.start") - 1)) cmdArgs <- trimSpace(substr(cmd[1L], attr(leadingEquals, "capture.start") + 1, nchar(cmd[1L])))} else { cmd.spacesplit <- strsplit(trimSpace(cmd[1L]), "\s+", perl = TRUE)[[1L]] if (length(cmd.spacesplit) < 2L) { } else { cmdName <- trimSpace(cmd.spacesplit[1L]) if (length(cmd.spacesplit) > 2L && tolower(cmd.spacesplit[2L]) %in% c("is", "are")) { cmdArgs <- paste(cmd.spacesplit[3L:length(cmd.spacesplit)], collapse = " ") } else { cmdArgs <- paste(cmd.spacesplit[2L:length(cmd.spacesplit)], collapse = " ") } }}: valor ausente donde TRUE/FALSE es necesario>

Error extracting SAMPSTAT in output file: AFC ICS/01. CFA/03. ics 1f25i overall both samples.out
<subscriptOutOfBoundsError in [<-(*tmp*, r, 1:length(line), value = line): subíndice fuera de los límites>

The warnings are:

Warning messages:
1: In strsplit(paste(section.text, collapse = " "), ";", fixed = TRUE) :
string de entrada 1 es inválida en este locale
2: In extractWarningsErrors_1file(outfiletext, curfile, input = inp) :
Could not identify warnings and errors; input is not of class mplus.inp
3: In mplus_as.numeric(splitData[[r]][-1], expect_sig = expect_sig) :
NAs introducidos por coerción

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant