Learn R Programming

opusreader2 (version 0.6.8)

opus_lapply: List wrapper that reads a list of files (dsn) via read_opus_single() and returns spectra in a list

Description

List wrapper that reads a list of files (dsn) via read_opus_single() and returns spectra in a list

Usage

opus_lapply(dsn, data_only)

Value

nested list where first-level elements are individual spectral measurements parsed from individual OPUS binary files; the output is identical to its user exposed reading interface, see ?read_opus

spectra list containing the elements described in ?read_opus

Arguments

dsn

data source name. Can be a path to a specific file or a path to a directory. The listing of the files in a directory is recursive.

data_only

read data and parameters with FALSE per default, or only read data NULL, which only returns the parsed data.

See Also

read_opus() read_opus_single()