opus_lapply: List wrapper that reads a list of files ('dsn') via...

View source: R/read_opus.R

opus_lapplyR Documentation

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)

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.

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

See Also

read_opus() read_opus_single()


opusreader2 documentation built on Feb. 3, 2026, 5:07 p.m.