Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getOutFileList

Get Output File List


Description

This is a helper function used by extractModelSummaries and extractModelParameters. It determines whether the target is a single file or a directory. If it is a directory, all .out files are returned (perhaps recursively) It also permits the files to be filtered using a certain regular expression.

Usage

getOutFileList(target, recursive = FALSE, filefilter)

Arguments

target

The target file or directory

recursive

A logical value whether to search recursively. Defaults to FALSE.

filefilter

A regular expression passed to grep used to filter the output files.

Value

A character vector of the output files

Examples

# make me!!!

MplusAutomation

An R Package for Facilitating Large-Scale Latent Variable Analyses in Mplus

v0.8
LGPL-3
Authors
Michael Hallquist [aut, cre], Joshua Wiley [aut], Caspar van Lissa [ctb], Daniel Morillo [ctb]
Initial release
2020-09-28

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.