Read OceanOptics spectra

read_OOspectra(
  path,
  pattern = ".*",
  read_fun = c("auto", "ascii", "ts", "base32", "a FUNCTION")[1],
  recursive = FALSE,
  ...
)

Arguments

path

(string)

pattern

(string) regular extression to filter files to be selected as spectra.

read_fun

(string | function)

recursive

logical. Should the listing recurse into directories?

...

parameters to be passed to `read_fun`

Value

hyperSpec object