Changes in version 1.3 o feature: readModels now parses input MODEL sections into $model_table, a syntax-oriented data.frame with parameter headers, labels, modifiers, values, fixed/free status, and source sections o feature: readModels now extracts TECH4 standard errors, Est./S.E. values, and p-values for latent means, covariances, and correlations alongside the estimate matrices o bugfix: expand TECH4 parsing to preserve estimate matrices when Mplus repeats "ESTIMATES DERIVED FROM THE MODEL" subsections for estimates versus S.E./test-statistic blocks o bugfix: improve grouped TECH4 and SVALUES handling, including regression coverage for grouped User's Guide examples such as ex5.16 o feature: TECH10 section is now parsed into $tech10 by readModels o feature: mplusModel now supports update() semantics like mplusObject and base R objects o bugfix: support extraction of TECH11 and other sections when they are interrupted by warnings or errors o bugfix: handle non-UTF8 inputs using sanitize_mplus_text function. Closes #215 o feature: readModels parses final estimates as starting values section (produced by OUTPUT: SVALUES) into $svalues and $parameters$svalues. Closes #214 o feature: readModels extracts information about random starts, including final stage log-likelihoods into $random_starts. Closes #214 o bugfix: error in mplusModeler() when user provides NAMES statement and also uses rdata (which generates NAMES). Closes #164 o feature: mplusModel now supports clearer entry points, including from an existing out_file o feature: expose a digits argument for SummaryTable to allow user to control rounding/precision for numeric fields. Closes #216 Changes in version 1.2 (2025-09-02) o notice: MplusAutomation examples vignette updated to refer to readModels, not outmoded extract* functions o feature: New pathfilter argument to readModels allows for selection of outputs to read based both on path name (pathfilter) and file name (filefilter) o feature: compareModels now returns a list of comparison results including chi-square difference tests when requested o feature: New mplusModel object that simplifies inline integration of Mplus and R. o feature: New submitModels function supports asynchronous submission of Mplus models on high-performance clusters using slurm or torque o feature: Rewrote parser for fixed-width Mplus output objects (esp. SAVEDATA files). Now 10x faster! o feature: Use data.table fread for reading delimited files (e.g., BPARAMETERS). Now 10x faster! o feature: Rewrote parameter chunk parser and adjoining functions for speed, reducing overall time for readModels by approximately 66%! o feature: Parser for SAVEDATA outputs now handles massive records where Mplus splits records across rows (esp. SAVE = FSCORES) o feature: readModels extracts odds ratios and their confidence intervals into $parameters$odds and $parameters$ci.odds, respectively. Addresses #192. o feature: readModels extracts results of the R3STEP procedure in $r3step. Closes #204 o feature: readModels extracts new H5RESULTS object from Mplus v8.11 in $h5results o feature: compareModels now returns a list containing the results of the comparison, including the diffTest. Closes #185. o notice: Package namespace has been cleaned up to remove long-deprecated functions including extractModelSummaries, extractModelParameters, and extractModIndices. o bugfix: readModels now detects filefilter arguments that use $ or ^ to denote the end or beginning of a string, respectively, and also handles ".out" being included in filefilter Addresses #194. o bugfix: readModels now parses indirect effects for NB/ZI models with binary outcomes annotated with #. Closes #217. Changes in version 1.1.2 o bugfix: Break file paths > 90 chars in prepareMplusData and mplusModeler to avoid line length errors Changes in version 1.1.1 (2024-01-30) o feature: multi-class columns are now treated as their first class in prepareMplusData() o feature: extract alternative parameterizations of categorical latent variables (thanks to sam-crawley for the pull request) o bugfix: handle bparameters files that have additional iterations, usually from factor scores. Fixes Github Issue #138 o bugfix: use detectMplus() inside createMixtures to avoid assumptions about location o bugfix: various updates to avoid length > 1 logical test failures in R 4.3+ o bugfix: documentation updates to usage sections to correct CRAN concerns o notice: removed rlang import dependency Changes in version 1.1.0 (2022-04-06) o bugfix: fixed a bug in handling multiply imputed data introduced in 1.0.0 o bugfix: In readModels, $data_summary now contains cluster-level information for THREELEVEL models. Fixes Github Issue #18. o bugfix: Handle 'Undefined' fields in MODEL RESULTS sections o bugfix: Fix matrix-list confusion in reading specific indirect X sections in v8 output o feature: Parse SUMMARY OF DATA section for crossclassified models. Fixed Github Issue #163 o bugfix: Update examples to avoid use of URLs for CRAN compliance Changes in version 1.0.0 (2021-07-01) o notice: Most functions are now quiet by default. Functions now print less messages/output to the console during regular runs. This can be changed using the new quiet argument available (e.g., in readModels(), mplusModeler(), etc.). Thanks to cjvanlissa for the pull request. o notice: The default of SummaryTable() is now "none", to prevent accidental printing to console. Thanks to cjvanlissa for the pull request. o feature: There are now more informative error message for mplusObject() without results section. Thanks to cjvanlissa for the pull request. o feature: Add methods for mixturesummarytable for all types of MplusAutomation output. Thanks to cjvanlissa for the pull request. o feature: Pass arguments for mplusObject() and mplusModeler(), specified through createMixtures(), on so that users can fully customize these calls. Thanks to cjvanlissa for the pull request. o feature: prepareMplusData() now handles multiply imputed data. Thanks to cjvanlissa for the pull request. o feature: mplusObject() gains arguments modelout and dataout, which makes it easier to create a list of model objects. Thanks to cjvanlissa for the pull request. o feature: There are new convenience functions, get_*() to extract all first-level results from mplusObjects(). Thanks to cjvanlissa for the pull request. o feature: Table sorting is more robust and there is a new argument, sortBy = NULL to avoid sorting. Thanks to cjvanlissa for the pull request. o feature: Unit testing has been added to check that a variety of Mplus User Guide examples are read in correctly. o feature: readModels() now returns the entire raw output file. This means that R objects from Mplus can be saved and contain all needed output. Mplus text input/output files do not need to be kept for a complete record. The raw output file is stored in the $output list element. o feature: MplusAutomation now tries harder to find an Mplus (or Mplus Demo as a fallback) command in an OS independent way thanks to new function detectMplus(). This takes over the default Mplus_command argument in runModels() and mplusModeler(), which should mean it works more often, on more platforms, without users needing to specify the command/path to Mplus. Changes in version 0.8-1 o feature: prepareMplusData can create dummy codes for categorical variables using the dummyCode argument o bugfix: handle extraction of parameters from mixture model outputs in Mplus 8.6 (new top-level sections) Changes in version 0.8 (2020-10-14) o feature: Extract parameters from EFA outputs (thanks to Dani Mori for the excellent foundation!) o feature: Extract TECH10 bivariate model fit (thanks to Sam Crawley!) o feature: Extract residuals from invariance models. Addresses Github issue #95 o feature: Extract model-estimated correlations and correlation residuals o feature: Support BAYES outputs in compareModels o feature: Add PPP values for Bayesian Monte Carlo outputs o feature: Support PSR PPPP section in tech8 o feature: Add NLatentClasses to $summaries if available. Fixes Github Issue #103 o feature: Extract results from "Results/Parameters for Class-specific Model Parts" sections (e.g., ex8.12) o feature: Refactor runModels to support a vector of folder and files to execute (target argument). o notice: Removed getSavedata_Bparams in favor of readModels. o bugfix: Extract standardized estimates from MONTE CARLO outputs o bugfix: Parse univariate sample statistics for multiple groups models (ex5.27) o bugfix: Extract R-SQUARE information from multilevel analyses (where header order is reversed) o bugfix: Restore accidental section match for PSR subsection that led to TECH8 failure o bugfix: Extract invariance tests when only two models are compared o bugfix: Extract RESULTS IN PROBABILITY SCALE for models that only provide an Estimate column, like ex5.5 GPCM. Fixes Github Issue #118 o bugfix: Preserve other columns like LatentClass for RESULTS IN PROBABILITY SCALE section. Fixes Github Issue #103 o bugfix: Correct factor conversion notes in prepareMplusData. Provide conversion notes as a printed data frame for clarity. o bugfix: Extract specific indirect effects in Mplus v8.4+. Updated parser to handle new section headers. Fixes Github Issue #117 o bugfix: Parse categorical latent variable names correctly for multiple latent variable models o bugfix: Parse univariate sample statistics for single-variable models o bugfix: Handle relative paths appropriately in files provided to runModels. Fixed Github Issue #87 Changes in version 0.7-3 (2018-11-25) o feature: Support use of plausible values for factors in BAYES output using SAVE=FSCORES(NIMP) approach o feature: readModels provides initial support for extraction of SUMMARY OF DATA section, including ICCs in 2-level models. See $data_summary. o feature: Allow input files to have .in or .inp extension to increase compatibility with lavaan lavExport. o feature: Extract residual DSEM outputs containing ^ o feature: Initial support for extraction of RESULTS IN PROBABILITY SCALE output. See $parameters$probability.scale from readModels(). o feature: prepareMplusData can now hash filenames for multiply imputed data. Hashing is done for individual files, so that as long as all files exist, the order can be re-arranged or imputations can be dropped and still no new data needs to be written (closes issue #53). o feature: prepareMplusData now is more efficient at converting datasets to numeric and utilizes fwrite to increase speed of writing out datasets (closes issue #54). o feature: new utility function mplusAvailable() attempts to determine whether Mplus is installed and findable on the system. o bugfix: Extract modification indices for thresholds o bugfix: Abstract invariance testing summary extraction from Caspar van Lissa into a separate function. o bugfix: Fix pred/outcome swap in specific indirect sections o bugfix: Handle spaces in SAVEDATA variable information section in Mplus v8+ (e.g., SAVE=FSCORES in BSEM). o bugfix: Improve parsing of mixture outputs in mixtureSummaryTable. Changes in version 0.7-2 (2018-04-06) o feature: A host of new features for mixture modeling (thanks to Caspar van Lissa!). See createMixtures, mixtureSummaryTable, plotMixtures, plotGrowthMixtures, plotLTA. o feature: Extract standardized indirect effects using readModels(). $indirect now has the same basic section structure as $parameters. o feature: Extract indirect effect confidence intervals (unstandardized and standardized) using readModels(). Look at $indirect$ci.unstandardized etc. o notice: getSavedata_Data is now deprecated. Use readModels(what="savedata")$savedata for comparable results o bugfix: small fix to structure of indirect summaries to avoid lists nested within data.frames. Changes in version 0.7-1 (2018-01-31) o notice: For consistency, covariance.coverage has been renamed covariance_coverage in the list returned from readModels o notice: extractModelSummaries and extractModelParameters have been removed in favor of readModels. o notice: citation to paper about MplusAutomation provided at startup o feature: Refactored readModels parser for identifying major sections. Speeds up function by 7-12%. o feature: new 'quiet' parameter for readModels to suppress progress messages. o feature: new 'what' parameter for readModels to specify sections to extract. o feature: Switch to readLines instead of scan for readModels. 1-2% speed increase. o feature: Add local_tmpdir argument to runModels to use location of .inp file for Mplus temporary files (useful for avoiding collisions with multiple Mplus instances) o feature: lookupTech1Parameter now accepts an mplus.model object, as generated by readModels() o feature: Support multiple groups output for MODEL INDIRECT o bugfix: Extract r2 output for Mplus v8 outputs using multiple imputation (has rate of missing column) o bugfix: Correction for false positive match on model fit information from new LCA TECH10 output. o bugfix: Extract delta (scale factors) vector from TECH1. o bugfix: Support different format of MODEL INDIRECT direct effects in v8 Changes in version 0.7 (2017-07-14) o notice: extractModelSummaries and extractModelParameters are deprecated in favor of readModels. These will be removed in the future. o feature: prepareMplusData() and mplusModeler() now have option to not write data, thanks to sda030 o feature: mplusObject(), mplusModeler(), update(), and createSyntax() all now accommodate monte carlo simulations in Mplus o feature: New methods for the confint() function to extract and format confidence intervals. This also allows confidence intervals with the texreg package o feature: initial support for extracting MODEL INDIRECT output. See $indirect element from readModels(). o feature: initial support for extracting SAMPSTAT output. See $sampstat element from readModels(). o feature: initial support for extracting counts and proportions of categorical data. See $sampstat$proportions.counts element from readModels(). o feature: extract covariance coverage from "COVARIANCE COVERAGE OF DATA" section. See $covariance.coverage element from readModels(). o feature: runModels now accepts a single .inp file or a directory as the target o feature: readModels now uses tryCatch statements to wrap extraction. This should more gracefully handle unexpected errors. o feature: extract potential scale reduction output for ESTIMATOR=BAYES models. See $tech8$psr element from readModels(). o bugfix: Support for Mplus v5 confidence intervals. o bugfix: R2 extraction for models with estimates and scale factors alone o bugfix: Handle outputs using DATA IMPUTATION to impute missing data, then analyze a model in older versions of Mplus o bugfix: Handle parsing input section in older Mplus (v6.12 and before, I believe) where there was no termination statement o bugfix: Extract SRMR from TYPE=THREELEVEL models, if available (Github issue 18) o bugfix: Workaround for missing Within Level header for Categorical Latent Variable section of CINTERVAL output in multilevel mixtures (Github issue 25) o bugfix: Extract summary statistics for EFA outputs with warning "Too many factors were requested for EFA." (Github issue 45) o bugfix: initial support for mplusObject() to recognize lists of variables: x1-x5 expands to x1, x5, and all variables between, when autov=TRUE (Github issue 37), should also be detected whenever a model is updated via update() o bugfix: Extract summary statistics for EFA outputs with warning "Too many factors were requested for EFA." (Github issue 45) o bugfix: Skip over a parameter section header with no parameter estimates (rare output for growth model) o bugfix: Support latent class output sections that contain non-numeric characters (ex8.15.out: "Latent Class C#1") o v8 support: Handle removal of leading '1' from TECH output row names for parameter vectors (matrixExtract) o v8 support: Extract Prior Posterior Predictive P-Value. See $PriorPostPred_PValue in $summaries o v8 support: Extract Within-Level Standardized Estimates for TWOLEVEL models (ex9.32.out). See $wilevel.standardized in $parameters from readModels() o v8 support: Support output for AR(1) output variables labeled &1 o v8 support: Extract Steps section from GPCM IRT output (e.g., ex5.5pcm.out) o v8 support: Extract updated IRT PARAMETERIZATION output, including item discriminations, locations, categories, guessing, and upper asymptote o v8 support: Initial support for measurement invariance outputs having multiple model fit and results sections Changes in version 0.6-4 (2016-06-09) o feature: prepareMplusData() and mplusObject() / mplusModeler() now handle multiply imputed data o feature: added extraction of Chi-Square Test of Model Fit for Binary and Ordered Categorical section o feature: added extraction of Chi-Square Test for MCAR under the Unrestricted Latent Class Indicator Model section. o feature: added extraction of R-SQUARE output o feature: support extraction of equality tests of means using the BCH, DCON, and DU3STEP procedures o feature: support means/intercepts and multiple groups in modification indices o bugfix: read parameter level headers of TYPE=THREELEVEL output o bugfix: matrixExtract was failing to read in Mplus Fortran-style scientific notation (e.g., 1.5533D-06). o bugfix: extractParameters_1chunk was failing to read in Base Hazard Parameters sections from output files o bugfix: matrixExtract gave improper output when column headers were non-unique o bugfix: extract class counts properly from Mplus v7.3+, which changed the section headers o feature: added new function, SummaryTable() which is a generic interface to create summary tables and output to the console, popup, HTML, LaTeX, or markdown to support a wider variety of reproducible documents. Changes in version 0.6-3 (2014-10-10) o feature: readModels tries hard to extract estimation errors and warnings into $errors and $warnings, respectively. o feature: coef methods for mplus.model and mplusObject class objects are smarter allowing extract methods and the use of texreg package for prettier output o feature: mplusObject tries hard (with a note) to guess variables to include from the dataset if usevariables is missing o variable name explicitly mentioned when factors are converted to numeric codes by prepareMplusData. o bugfix: mplusModeler only runs the input file it generated in a directory now (thanks to Huashan Chen) o bugfix: remove trailing slash from path in runModels to avoid file.exists bug on Windows. o bugfix: only kill mplus.exe processes on Windows when runModels fails o added killOnFail parameter for runModels to give user option of whether to kill mplus.exe processes on failure. o bugfix: pickup new top-level section marker "Available post-processing tools:" o bugfix: residuals output section naming changed. o bugfix: support summary tables for single model input. Changes in version 0.6-2 (2013-10-24) o feature: initial support for extracting TECH7 (sample stats within latent classes) o feature: initial support for extracting TECH12 (observed versus estimated sample statistics for TYPE=MIXTURE analyses) o loosen dependency on relimp and tcltk packages to permit installation and loading of MplusAutomation without these. o read more summary statistics from Mplus MONTECARLO outputs o read dispersion parameters for NB models o readModels overall and pairwise comparisons of latent class means (Auxiliary E). Thanks to Davide Morselli for initial code. o bugfix: readModels was failing when confidence intervals were in probability scale. o bugfix: readModels failed to extract BIC for some ESTIMATOR=BAYES outputs. o bugfix: extract class counts for cases where k > 9 classes estimated. o bugfix: change mplus.traceplot to use names from rhdf5 and permute to chain, iteration, param to match prior code. Changes in version 0.6-1 (2013-05-09) o bugfix: fixed plyr namespace imports o bugfix: fixed runModels log file when NULL o corrected line length problems in documentation. o deleted old createTable routine (not used) o removed fields to extract from extractSummaries_1file (not useful). Changes in version 0.6 (2013-05-06) o feature: create Mplus model objects, automatically create and run models using mplusModeler o feature: generate code for residual covariance structures for latent growth models using mplusRcov o feature: initial support for extracting standardized confidence intervals o feature: extract all details of bootstrapped likelihood ratio test o feature: initial support for extracting IRT parameterization model results (see $irt.parameterization). o added basic documentation for functions including internal functions o support 6-column output from multiple imputation analyses that contain "rate of missing" column. o fixes to quiet scan commands (thanks to Mikko Ronkko) o fixes to use of system call on Mac/Unix (thanks to Mikko Ronkko) o move to rhdf5 package (hdf5 no longer maintained) Changes in version 0.5-4 (2013-02-15) o feature: readModels extracts warnings and errors. o feature: prepareMplusData now optionally allows for a .inp to be written or for interactive selection of a filename. o feature: readModels now stores (somewhat) parsed Mplus input syntax in $input (read from the INPUT INSTRUCTIONS in .out file). o feature: readModels now parses error messages from Monte Carlo output (TECH9) into tech9. o feature: Mplus software version now extracted as Mplus.version in model summaries. o feature: showSummaryTable, LatexSummaryTable, and HTMLSummaryTable now accept model lists from readModels (no need to extract summaries from each). o feature: readModels extracts SAMPLE STATISTICS FOR ESTIMATED FACTOR SCORES section associated with PLOT3 into fac_score_stats. o feature: extractTech1 now parses TAU(U) sections in mixture models with class-varying thresholds. o refactored SAVEDATA parsing to handle Mplus v7 output, which reordered sections in some cases. o to enhance formatting, createModels no longer strips blank lines from the template file. Thanks to Ronkko Mikko for the suggestion. o bugfix: createModels value lookup during init processing was broken. Thanks to Ronkko Mikko for the bugfix. o bugfix: finding the end of the input was failing when an error was encountered in Mplus parsing the input. o bugfix: plyr 1.8 rbind.fill no longer accepts NULL inputs, which was breaking model summary extraction. o bugfix: reading savedata files was failing for Monte Carlo output when files could not be found. o bugfix: support 7-column format for BAYES output that includes significance column. Changes in version 0.5-3 (2012-08-08) o bugfix: in runModels, Mplus_command with spaces would cause error because not quoted. o bugfix: testBParamConstraint and testBParamCompoundConstraint did not appropriately combine mcmc lists. o feature: readModels extracts TECH3 output from SAVEDATA: TECH3. Stored in $tech3$paramCov.savedata when available. (Thanks to Joe Glass for code to extract free format matrices.) o feature: testBParamCompoundConstraint and testBParamConstraint now accept mplus.model object (from readModels). o feature: mplus.traceplot to plot the MCMC chain convergence for Bayesian models that have a gh5 file and PLOT: TYPE=PLOT2. (Thanks to Joe Glass for initial plotting code.) o include empty gh5 list if unable to read. Changes in version 0.5-2 (2012-07-12) o feature: divide BPARAMETERS by MCMC chain and separate burn-in (first half) versus valid draw (second half). (Adapted from code and insights graciously provided by Florian Boeing-Messing.) o feature: Bparameters stored as mcmc.list to promote compatibility with coda package (coda now imported). (Thanks to Davood Tofighi for the suggestion.) o feature: readModels imports corresponding gh5 file, if it exists, into list element gh5 (requires hdf5 package). o feature: readModels extracts TECH3 parameter covariance and correlation matrices from output, when available (OUTPUT: TECH3). o feature: readModels extracts latent class counts and probabilities (only works for models with one categorical latent variable). o bugfix: Corrected failure to identify "SAMPLE STATISTICS FOR ESTIMATED FACTOR SCORES" header. o bugfix: Chi-square difference test for MLR based on LL did not work for models with only LL and Parameters. o bugfix: Scales section of model parameters was not being read properly. o bugfix: matrixExtract (tech1, residuals, etc.) now handles blank section appropriately. o updated MplusAutomation Examples vignette to reflect greater functionality of readModels. Changes in version 0.5-1 (2012-04-03) o TECH1, RESIDUALS, and TECH4 extraction now support latent class models and multilevel models o Added extraction of GAMMA(C) and ALPHA(C) to TECH1 routines. o Extracts chi-square difference test results computed using DIFFTEST. o compareModels prints DIFFTEST results when available. o bugfix: compareModels now prints RMSEA by default when available. o remove dependency on reshape package. o Extraction of conditional latent class means, auxiliary(e), now supported by readModels. o Workaround for bparameters extraction where Mplus does not include categorical latent variable means. o bugfix: readModels TECH1 output now extracted properly for TYPE=IMPUTATION. Changes in version 0.5 (2011-12-09) o new function compareModels to compare model summaries and parameters. o compareModels supports chi-square difference testing using diffTest=TRUE. o extraction of TECH11 output supported by extractModelSummaries. o extraction of TECH1 output supported by readModels. o added utility function lookupTech1Parameter to find a given parameter number in output. o extraction of TECH4 output supported by readModels. o extraction of RESIDUALS output supported by readModels. o extractModelSummaries now reads summaries (e.g., DIC) from ESTIMATOR=BAYES output. o getSavedata_Fileinfo now supports extraction of Monte Carlo variable names. o getSavedata_Data now automatically extracts Monte Carlo/Multiple Imputation data as a list. o removed wine as default for running Mplus on Linux now that Mplus is native for Linux. o specify runModels default mplus location on Mac as /Applications/Mplus/mplus. o several updates to MplusAutomation Vignette. o showSummaryTable allows user to specify font. o added more examples to R help files. o bugfix: getSavedata_Data was calling read.table instead of read.fwf after Bparams code was added. o bugfix: iterator tags nested within other tag types in template init section were not replaced by createModels. o bugfix: getSection now identifies SAVEDATA INFORMATION header correctly. Changes in version 0.4-3 (2011-07-25) o throw specific error when createModels encounters a template file with no body tags (come back later to allow for this). o changed names of return list from getSavedata_Fileinfo: breaks compatibility. o initial support of reading Bayesian parameters from SAVEDATA BPARAMETERS command. o provide inequality constraint tests for bayesian parameter estimates: van de Schoot, Hoijtink, Hallquist, & Boelen, submitted. o initial support of model parameter extraction for Monte Carlo output (MONTECARLO: and MODEL POPULATION:) using extractModelParameters. o initial support of unstandardized confidence interval output from OUTPUT:CINTERVAL (thanks to Stephen Tueller for initial development of this) o reworked detection of major output sections to match a fixed list of options (decrease ambiguity) o bugfix: extractModelParameters correctly handles nonconverged output, where only estimates are available. o savedata file information now included in readModels list in element savedata_info. Changes in version 0.4-2 (2011-03-19) o initial support for extracting model modification indices, when available: extractModIndices o bugfix: Corrected problem with extractModelSummaries failing when analysis or data sections were at the end of the input. o bugfix: Corrected whitespace stripping for cases where leading and trailing space is present. Changes in version 0.4-1 (2011-02-14) o initial support for extracting fit statistics from DATA: TYPE=MONTECARLO output (external Monte Carlo) o show summary routines now check to make sure that all columns requested are present in the summary data.frame. o show summary routines now check for the sortBy column for cases where the sort field is missing. o bugfix: properly handle blank sections in model results output. o bugfix: getSavedata_Fileinfo now properly handles relative and absolute paths in the savedata location. o better debug output for extractModelParameters. Changes in version 0.4 (2010-11-03) o unified model parsing function readModels() implemented. Returns list of summaries, parameters, and savedata output. o completely refactored extractModelSummaries. Now handles more summary statistics, including initial support of MI output. o extractModelSummaries now drops any fields that are all missing. o preliminary support for extracting model summary statistics from EFA output. o bugfix: warning for missing LL now falls appropriately after extraction of estimator in extractModelSummaries o bugfix: grabResultsSection failed when there was more than one match for a section header. o bugfix: extractModelSummaries now correctly extracts SRMR for multilevel models. o extractModelSummaries now retains only the filename, not the path, in the Filename field. o bugfix: getSavedata_Data now properly handles output file located in the working directory. o changed getSavedata_Data to give a warning, not error, when save data not present in output. o restrict extractModelSummaries function to TESTS OF MODEL FIT output. o bugfix: prepareMplusData now correctly converts factors to numbers. o bugfix: prepareMplusData converts periods in variable names to underscores. o reorganized source files for improved clarity Changes in version 0.3-3 (2010-07-24) o extractModelParameters extracts 6-column output from estimator=bayes models (Mplus V6). o extractModelParameters supports (most) older output format from Mplus 4.2 and later. o extractModelParameters function now accepts a single output file or a directory, like extractModelSummaries. Return a list if multiple files. o extractModelParameters now extracts unstandardized and standardized results, where available. Returns a list. resultType is deprecated. o extractModelParameters now extracts constraints listed under "New/Additional Parameters". o bugfix: extractModelParameters omitted latent class regression coefficients in mixture models. o bugfix: extractModelParameters could not locate section end for some standardized parameters. o bugfix: extractModelParameters failed to identify latent class membership with multiple categorical latent variables. o Changed runModels to limit Windows-specific command line tweaks to R running on Windows computers. o Removed InputInstructions from extractModelSummaries routine. Made output too cluttered. o In extractModelSummaries routine, only warn about missing log-likelihood for ML estimators. o Changed runModels_Interactive to use native TCL directory browser on non-Windows machines. o Improved runModels_Interactive to place log file in same directory as run target, unless otherwise selected. o Changed Mplus call in runModels to use relative filename after changing to the proper directory (improves Linux runs). o bugfix: corrected runModels attempt to write log file when NULL specified. o plyr 1.0 hid (and changed) the splitter_a function, which made createModels fail. Replaced splitter_a with homespun function. Changes in version 0.3-2 (2010-05-22) o Added prepareMplusData convenience function, used to export data from R to Mplus. o Fixed bug in updateCurrentValues that would stop the createModels pipeline when there were no array tags in the init. o Fixed bug in processConditionalTags that would delete the body section when there were no matching tags. Changes in version 0.3-1 (2010-05-18) o Removed two browser calls from processInit that were causing pauses in createModels. o Reduced console output from createModels (no more "current iterator is" output) o Refactored extractModelParameters to handle complex outputs (e.g., multiple groups with twolevel) o Refactored extractModelParameters to read standardized estimates from WLS and MUML estimators. Changes in version 0.3 (2010-05-10) o Corrected bug with getSaveData_Fileinfo not reading integer-format variables (e.g., I5). o Includes first implementation of Mplus template language: createModels function. o Improved handling of runModels log file. Was closing the file before exitRun had completed. o Fixed bug in isLogOpen that caused it to error when logFile was NULL. o Improved parameter checking in splitFilePath o Removed createTable function (now divided into LatexSummaryTable, HTMLSummaryTable, and showSummaryTable functions) o Updated Vignette for Mplus template language. Changes in version 0.2-5 (2010-04-03) o Extracts Baseline Chi-square, SRMR, and WRMR using extractModelSummaries. o Allows target for extractModelSummaries to be a single file or a directory. o extractModelParameters now successfully extracts multiple group analyses. o Fixed minor bug in extractModelParameters for calculating keyword match length. o Fixed minor bug in regular expression for parseChunk matching leading/trailing spaces (handled by strip.white). Changes in version 0.2-4 (2010-03-19) o Added package vignette (in the inst/doc directory). o Included NEWS file. o Added flush commands to log file writing in runModels to allow for progress tracking. Changes in version 0.2-3 (2010-03-13) o Separated table-creating functions (previously createTable) into three related routines: showSummaryTable, HTMLSummaryTable, and LatexSummaryTable. createTable will be removed in future versions of the package. Changes in version 0.2-2 (2010-03-11) o Improved extractModelSummaries function to allow for summary statistics located across multiple lines. New summaries include model chi-square, RMSEA, CFI, and TLI. o Corrected a bug in extractValue that did not select the correctly utilize match.length from regexpr (failure to subtract 1 in substr).