i_verify_path_and_format {spectrolab} | R Documentation |
Internal function to verify file paths and format
Description
Internal function to verify file paths and format
Usage
i_verify_path_and_format(
path,
format = NULL,
exclude_if_matches = NULL,
ignore_extension = FALSE
)
Arguments
path |
Path to directory or input files |
format |
File format. Defaults to NULL so spectrolab tries to guess it from the file name. Alternatively, use "asd" for ASD; "sig" for SVC (Spectra Vista); or "sed" for PSR (Spectral Evolution) |
exclude_if_matches |
excludes files that match this regular expression. Example: "BAD" |
ignore_extension |
Boolean. If TRUE, the parser will try to read every file in path regardless of the expected extension. |
Value
a list containing a vector of paths called 'i_path' and a char with the file format called 'i_format'
Author(s)
Jose Eduardo Meireles
[Package spectrolab version 0.0.19 Index]